Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In eclipse, how do I get the debugger to show all stack frames without clicking expand on each of the threads?

I have a server that has 100 running threads, and I would like to know if there is a easy way to expand all threads to show their stack frames, in one click.

like image 593
Ravi Avatar asked Feb 06 '12 20:02

Ravi


People also ask

How can I see stacks in Eclipse?

you just click on the stack frame in the Debug view. Show activity on this post. In the visual debugger, you will see the entire stack trace. Just CLICK on the level you want to inspect to do that.

How do I debug multiple threads in Eclipse?

Start debug session. When the breakpoint in run is hit, you can go to another breakpoint, enable that breakpoint if it was disabled. Then right click on the breakpoint -> go to Filters, now you can select the thread you want the breakpoint to be remain enabled for and you can uncheck the rest of the threads.

How do I get debug view in Eclipse?

If Eclipse does not automatically switch to the Debug perspective, you can locate it manually in the Window entry on the menu bar or by clicking the Choose Perspective button (a button with a plus on it) in the upper right corner of the Eclipse window under the menu bar line.

How do I enable debug toolbar in Eclipse?

Another way to enable the debug icons in the toolbar is to select Window -> Perspective -> Customize Perspective (or right click on the Perspective icon and select Customize). Then in the new pop-up window select Action Set Availability tab > enable Debug in the list on the left hand-side.


1 Answers

Click on the top level thread (or the application) and then [Shift]+[Right Arrow]. Depending on your level, you may need to do this twice.

like image 142
Stephen Avatar answered Oct 23 '22 14:10

Stephen