This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198371 - Provide action to print stack trace from paused thread in debugger
Summary: Provide action to print stack trace from paused thread in debugger
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: -S1S-
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 08:56 UTC by javaprog
Modified: 2011-05-06 10:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javaprog 2011-05-06 08:56:00 UTC
In order to report bugs in debugged applications (especially deadlocks found by the debugger), it would be very helpful to have an action for accessing the stack traces of interrupted threads in text form.

The graphical user interface with its depiction of threads, call stacks and monitors is just marvelous. However, for reporting a deadlock I need it in text form and so I have to type the stack traces from the graphical representation, which is tedious and error-prone. This could easily be improved by adding an action to the context menu of interrupted threads, which would print the stack trace (including the monitors held and those that are waited for) to the debugger output window. Then I could simply copy and paste the output for reporting the bug.
Comment 1 Martin Entlicher 2011-05-06 10:23:12 UTC
There already is "Copy Stack" action, but now I see that unfortunately it's available only on stack frames of the thread. It should be available on the thread itself. It copies the stack trace into the clipboard.
Also, we could add an action to copy stack traces of all threads.
And it's a good point to include monitors. :-)