Get a printout of the calling stack

Answered

Hi.

Is there a way to get the calling stack while in a breakpoint?

I want a textual version that I can copy and paste somewhere, I know about
IJ debugging and navigating the calling stack.

Thanks,
Amnon


5 comments
Comment actions Permalink

Run|Export Threads?

N.

Amnon I. Govrin wrote:

Hi.

Is there a way to get the calling stack while in a breakpoint?

I want a textual version that I can copy and paste somewhere, I know about
IJ debugging and navigating the calling stack.

Thanks,
Amnon

0
Comment actions Permalink

1. Yielded an empty file.
2. I want the same info that you can see in the Frame tab 1st selection box
(the execution frames / call stack), not the second (threads).

Amnon

"Nathan Brown" <nedski@yNaOhSoPo.cAoMm> wrote in message
news:cb769r$v8l$1@is.intellij.net...

Run|Export Threads?

>

N.

>

Amnon I. Govrin wrote:

Hi.

>

Is there a way to get the calling stack while in a breakpoint?

>

I want a textual version that I can copy and paste somewhere, I know

about

IJ debugging and navigating the calling stack.

>

Thanks,
Amnon

>
>



0
Comment actions Permalink

1. Sounds like a bug to me :)
2. Try switching to the Threads tab, selecting all the child nodes for
the thread you've broken on, press Ctrl+C and paste into notepad.

N.

Amnon I. Govrin wrote:

1. Yielded an empty file.
2. I want the same info that you can see in the Frame tab 1st selection box
(the execution frames / call stack), not the second (threads).

Amnon

"Nathan Brown" <nedski@yNaOhSoPo.cAoMm> wrote in message
news:cb769r$v8l$1@is.intellij.net...

>>Run|Export Threads?
>>
>>N.
>>
>>Amnon I. Govrin wrote:
>>
>>>Hi.
>>>
>>>Is there a way to get the calling stack while in a breakpoint?
>>>
>>>I want a textual version that I can copy and paste somewhere, I know


about

>>>IJ debugging and navigating the calling stack.
>>>
>>>Thanks,
>>>Amnon
>>>
>>>


0
Comment actions Permalink

1. http://www.intellij.net/tracker/idea/viewSCR?publicId=33929 (Marked as
fixed, added a comment)
2. That worked. Would other people like a button next to the selection box
that will do that in a more direct way?

Thanks for your help,
Amnon

"Nathan Brown" <nedski@yNaOhSoPo.cAoMm> wrote in message
news:cb7ahl$v8l$2@is.intellij.net...

1. Sounds like a bug to me :)
2. Try switching to the Threads tab, selecting all the child nodes for
the thread you've broken on, press Ctrl+C and paste into notepad.

>

N.

>

Amnon I. Govrin wrote:

>

1. Yielded an empty file.
2. I want the same info that you can see in the Frame tab 1st selection

box

(the execution frames / call stack), not the second (threads).

>

Amnon

>

"Nathan Brown" <nedski@yNaOhSoPo.cAoMm> wrote in message
news:cb769r$v8l$1@is.intellij.net...

>
>>Run|Export Threads?
>>
>>N.
>>
>>Amnon I. Govrin wrote:
>>
>>>Hi.
>>>
>>>Is there a way to get the calling stack while in a breakpoint?
>>>
>>>I want a textual version that I can copy and paste somewhere, I know
>

about

>
>>>IJ debugging and navigating the calling stack.
>>>
>>>Thanks,
>>>Amnon
>>>
>>>
>
>
>



0
Comment actions Permalink

The Threads view does contain the information that you can find in the Async stack trace (which is exactly what I want to have in my current situation: things being done in different orders because the same code is sometimes called directly and sometimes routed through SwingUtilities.invokeLater, and I have to check whether the two stack traces are semantically equivalent or not).

1

Please sign in to leave a comment.