Is there anyplace in the eclipse ide that I can enter immediate code while stoped at a breakpoint?
thanks
The differences between the Command and Immediate windowsThe Command window can load dlls or packages into the IDE as well. The Immediate window, on the other hand, is solely used during debugging and is useful to execute statements, print values of a contextual variable, or even evaluate expressions.
Open the VB Editor. Press Ctrl-G to give focus to the immediate window (or click the View option in the menu and then click on immediate window)
There is no Immediate Window unlike Visual Studio in VSCode. But you can still execute Javascript in VSCode. Open the JavaScript file in VSCode, then use shortcut Ctrl + Alt + N , the code will run and the output will be shown in the Output Window.
It's called the Display window in Eclipse. Menu Item: Window/Show View/Display
To run command you need to type then select the text in the display window and select one of the two J icons in the window.
Note: as mentioned in Debugging with the Eclipse Platform, you can use the Display View to scrapbook your live code.
Meaning, while you have a live debug session:
, you can run/debug some expressions or code in a Display view:
Example:
See My favorite Eclipse view
J
":>
" and a "J
":The standard output will be printed to the Console view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With