How to highlight current line of execution in debug perspective in Eclipse

Viewed 21523

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.

7 Answers

I get this from time to time and haven't been able to pin down the root cause but usually it resolves itself if I terminate the debugger, close the source code window with the breakpoint and then restart the debugger. When the breakpoint is hit Eclipse is forced to re-open the source window and then the breakpoint line is highlighted and Eclipse appears to highlight lines going forward.

DebugConfigurations > Source tab > Add... > Java Project > Select All (or select your project) > Ok > Ok > Apply Relaunch debugger

i just repost what Sudhanshu has writen, it worked very well for me.

Related