I would like to see the current execution line highlighted in green with arrow at the left in my Eclipse Debug perspective.
Unfortunately I don't know how to set it. I have seen it in some Eclipse platform and wondering if I can set it to display.
I am using Eclipse Ganymede 3.4.2.
A solution to this is to place the cursor into the next line and hit Ctrl+R ( Run to Line ) but this is not quite as comfortable as simply hitting a button (like hitting F6 for stepping over the line).
Debug Perspective Debug view – Visualizes call stack and provides operations on that. Breakpoints view – Shows all the breakpoints. Variables/Expression view – Shows the declared variables and their values. Press Ctrl+Shift+d or Ctrl+Shift+i on a selected variable or expression to show its value.
You need to get out of the current debug session. Go to the debug console and end the current session by hitting the red square button. This should remove all the debug current instruction pointers. Save this answer.
Variables. We can see the values of variables during the execution under the Variables view. In order to see the static variables, we can select the drop-down option Java -> Show Static Variables. Using the variables view, it's possible to change any value to the desired value during the execution.
In debug perspective, double click to the left of a line to set a break point. Once a break point is set, you can highlight running code line by line.
If it doesn't work as expected, just check your preferences here: Window > Preferences > General > Editors > All Text Editors > Annotations > Debug Call Stack and Debug Current Instruction Pointer
I just had to reboot eclipse, and everything started working perfectly.
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