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.
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.
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.
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.
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.
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.
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