When debugging in Eclipse, where's the Visual Studio equivalent of the "Immediate Window"? (interactive top-level)?

(interactive top-level) Asked by newbie7136619 44 months ago Similar questions: debugging Eclipse Visual Studio equivalent Window interactive top level Computers > Software Development.

Similar questions: debugging Eclipse Visual Studio equivalent Window interactive top level.

Display View" Eclipse has a very rich debugging environment, and one of the under-used tools is the Display View. It allows you to write a Java expression ( varName ), a Java command ( bob. GetFoo(varName)), or a whole block of Java code, then execute it and/or display its value.

If you open its tab, it looks like a boring empty text area. If you can't find the tab, just go to window > views, and find "display. " To use it, type in your Java whatever (bonus: it does auto-complete!), then select the whole thing, right click, and choose execute.

If you want to see its return value, choose "Display Result" instead. Sources: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/display/ref-display_view.htm .

I.e. Text entered in the Display window is immediately executed upon hitting Enter, and the results are displayed in the same window. I'm no fan of Visual Studio, but if this is the best thing Eclipse has to an interactive top-level prompt, it's still too clunky (i.e.

Enter text, select text, ctrl+u for execute, then change over to the Console tab to see the results).

3 Didn't know about control-u. I've got uses for that. Thanks.

I usually end up using the "Watch" window. Longer bits of code are added as methods somewhere and then I "watch" them (even though they're void methods). Shorter ones (often e.printStackTrace()) are just entered directly.

Didn't know about control-u. I've got uses for that. Thanks.

I usually end up using the "Watch" window. Longer bits of code are added as methods somewhere and then I "watch" them (even though they're void methods). Shorter ones (often e.printStackTrace()) are just entered directly.

4 scrapbook pages in eclipse are what your looking for... Much closer to the Immediate Window in Visual Studio.

Scrapbook pages in eclipse are what your looking for... Much closer to the Immediate Window in Visual Studio.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions