how to do interactive debug on nodeclipse - eclipse

I am running Eclipse Kepler 2 on Windows 7 with latest nodeclipse installed and nodejs
When I debug, I don't understand why i cannot enter into the console box to see the values of variable (like in pydev). This document tells me to use "Expression View". But is there a way to enter into interactive console of eclipse to get output with nodeclipse plugin?
Here is what is installed in my eclipse.
Also, I see that there is a separate interactive console (see image), but i can't seem to enter anything over there. Am i missing some plugins? I tried installing eclipse plugin - chromedevtools and nothing.

Nodeclipse is already shipped with chromedevtools (0.3.9 versus Google chromedevtools that were 0.3.8)
is there a way to enter into interactive console of eclipse to get output with nodeclipse plugin?
It should be tested and/or developed at https://github.com/nodeclipse/nodeclipse-1/
BTW: Hint Right-click on Perspective tabs panel and select Hide text. The toolbar panel will be more compact.

Related

PyDev 5.3 and Eclipse Neon 4.6 - pydevd.py loacation (OSx)

I switched from Eclipse Mars to Eclipse Neon today. The Pydev plugin was not installed at the place where it was in Eclipse Mars (/Applications/eclipse/cpp-neon/Eclipse.app/Contents/Eclipse/plugins).
Does anyone know where the pydevd.py is located on OsX.
thanks
The easiest way to know where the PyDev debugger is located is by opening a PyDev editor, writing pydevd and requesting a code completion just showing the templates (ctrl space twice)... A template for creating a programmatic breakpoint will be shown (and it adds the debugger to the PYTHONPATH, so you can see where it's located).

Running into JDK files from Eclipse IDE

I develop software on Eclipse Mars IDE, under MS Windows 10 OS, based on Java v7. And now I've got some configuration problems related to the IDE. What I want, is that to run into JDK source code from the IDE once I click on the 'step into' (or in other way). I've included the 'src.zip' on the path in the way provided by the IDE. Yet, when I attempt to run into the source code, the IDE says the 'source code not found'.
I want this feature in order to be able to debug some things related to my current app.
Regards
You need to set this through the Java->Installed JRE's found in Eclipse -> Window ->Preferences. See screen shot below.

Eclipse 4.4 Luna pinning editor tabs

I've found this question: Eclipse - How to pin editor tabs? and I've installed "Extended VS Presentation plugin for Eclipse", but it's not working.
How it should look (from http://andrei.gmxhome.de/skins/index.html):
How it actually looks on my Eclipse 4.4 (on Ubuntu):
As you can see, "Current presentation" setting is missing.
When I've installed this plugin (via eclipse), it was in "Eclipse 3.6 - 3.8 plugins", so maybe it's incompatible with 4.4 Luna? However, it was possible to install it, so it should work, right?
Also, if you know any plugin that would allow pinning tabs in eclipse, feel free to post your answer and describe it.
Support eclipse versions for this plugins:
Eclipse Versions:
Juno (4.2, 3.8), Previous to Juno (<=4.1)
This plugin NOT works(See this) in eclipse 3.x on Linux.(But here author says it support Linux platform. Contact author for more details)
This plugin NOT works in eclipse 4.x on any platform.
Please note, that the skin, tab actions and lists are available for Eclipse 3.x only! Eclipse 4.x is not supported.
That first Appearance dialog is how it looks in Eclipse 3.x. The appearance code was completely rewritten for Eclipse 4.x.
The fact the plugin installs may just mean the install is not careful enough about specifying the versions of Eclipse it supports.
You should try and contact the plugin author to see if it supports Eclipse Luna.
In my point of view, everything is fine.
As you can see in the images below, (Check bottom (console) ).
The above page is updated on 06-25-2014
But the screenshot in that page is taken on 06-02-2008 , (Check bottom (console) ).
The screenshot given in that page is a screenshot of very very old version. The plugin is updated, but the screenshot in the page is not yet updated.
The new plugin will work as shown in the image in the question
Alternative
In Eclipse 4.4.0 there You'll find a pin symbol in the default toolbar of Eclipse on the right side. After clicking it, the Java Editor Tab symbol gets changed indicating this editor is pinned now. Unfortunatelly I could not find a corresponding entry in the popup menu. But it is easy to assign e.g. the keys Ctrl-P to "Pin Editor" in the key bindings of Eclipse. (Don't forget to unbind Ctr-P = Print).
In Eclipse Neon 4.6.0 Pin is not functioning.

How to debug Node.js programs in eclipse (using node-eclipse)?

I am very newbie to eclipse as well as the node.js is concerned. I have tried several basic programs in node.js.
Now my question is there are many articles explaining how to debug the node program in eclipse. I dnt get it working. I am on windows 7 32-bit machine and installed eclipse Indigo with node-eclipse plugin installed..
Please can any body help me how to start debugging with programs.
Disclaimer: I am very new to eclipse IDE, Node & this stackover flow as well, please help..
Debugging - Breakpoint, Trace, etc... via Eclipse debugger plug-in
for V8
How to Install:
Update Site : https://nodeclipse.github.io/updates/
Testing Site: http://www.tomotaro1065.com/nodeclipse/updates/
How to debug:
Open the JavaScript source files that you want to set breakpoints.
Double-click on the ruler at the left end of the line you want to set a breakpoint.
If you want to remove a breakpoint, double-click on the ruler again.
Select the main source file of Node Application on the Project Explorer, open the context menu by right-clicking, select the [Debug As]-[Node Application] menu.
For more, Please Check Nodeclipse & Using Eclipse as Node Applications Debugger
Happy debugging ;)

apex debug log output does not show up on Eclipse

I installed visualforce plugin to Eclipse 3.6 and is working fine except that
system.debug does not output anything.
code
static testMethod void testMonth() {
Month m = new Month(system.today());
system.debug('foobar');
system.debug(m.firstDate);
}
step
In eclipse, right click and select Force.com
window popup, select run test
Test passes but I'm expecting debug output to show up. (i.e. foobar and date string) but nothing shows up.
Is there anything I might have to turn on or missing?
My Eclipse is Java edition.
I've tried PHP dev edition too with visualforce IDE version 20 but no luck.
Also tried visual force IDE standalone version and this also didn't show the log.
Here's a screenshot from my Eclipse: http://dl.dropbox.com/u/709568/stackoverflow/Masato.png
Works like a charm, maybe you closed this "Apex Test Runner" window? Maybe you aren't in the "Force.com" perspective?
Software versions (I don't think it's an Eclipse or plugin problem but you never know)...
Eclipse for PHP Developers
Build id: 20100218-1602
Force.com IDE
Version: Summer '10 (19.0.0)
Try locating these "Apex Test Runner" and/or "Execute anonymous" windows and playing with dropdown (which says what piece of debug info you want to see) and scrollbar (which says for "this" piece of info how detailed it should be).
This is an bug with Force.com IDE Winter'20.0. The fix is making its way through so expect a gud news soon.
Force.com IDE 20.0.1 has been released, which fixes this bug. See http://wiki.developerforce.com/index.php/Force.com_IDE for details.