Search code examples
javaeclipsestackcall

Navigating Java call stack in Eclipse


In debuggers like GDB, when you stop at a breakpoint, you can easily move up the call stack and examine the relevant source and stack frame data.

How do you do this in Eclipse?


Solution

  • In the "debug perspective", show the view named "debug". For each thread that is currently halted, this view shows the full call stack. Clicking on one element of this stack switches the editor view to display the corresponding class, and "variables" view will show variables of this stack element.