EAP (2021.11-b215) Copy stack trace issue

Questions about YourKit Java Profiler
Post Reply
ArgyVonBargy
Posts: 11
Joined: Tue Sep 07, 2021 2:57 am

EAP (2021.11-b215) Copy stack trace issue

Post by ArgyVonBargy »

So I've loaded a jfr (its been deobfuscated) and I'm in the CPU Profiling -> Call tree - By thread window.
I've got my mouse on the Call tree, AWT-EventQueue-0, one item down from that and I select "Copy stacktrace" from the right click menu.... All it does is copy the one selected line, (which is the same functionality as the Copy/Ctrl-C item). What I expected to happen was copy the entire stack trace so that I can then drop it into eclipse and navigate through the relevant files.

Am I missing something here - or is this not working as expected?

Is there some other way to get the stacktrace out of the YJP and into eclipse?

Thanks (in advance).
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by Anton Katilin »

To navigate to source code directly from the profiler UI please use the IDE integration:
https://www.yourkit.com/docs/java/help/ ... ration.jsp

To make "Copy stacktrace" work as you expected, please ensure you invoke it for the deepest method of the stack you want to copy.
ArgyVonBargy
Posts: 11
Joined: Tue Sep 07, 2021 2:57 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by ArgyVonBargy »

Thanks Anton - I've now tried it on the deepest method - and it does produce something, but not in the same format as a standard stack dump -- so it doesn't get read well by any of the external tools.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by Anton Katilin »

Hello,

It works in IDEA but does not work in Eclipse. We'll fix the format to be fully standard.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by Anton Katilin »

Update:

The next 2021.11 build will have this fixed. Meanwhile please use the profiler's built-in navigation.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by Anton Katilin »

Update:

We've released the build #221 which fixes the problem, please upgrade.
ArgyVonBargy
Posts: 11
Joined: Tue Sep 07, 2021 2:57 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by ArgyVonBargy »

Thanks for the update!
ArgyVonBargy
Posts: 11
Joined: Tue Sep 07, 2021 2:57 am

Re: EAP (2021.11-b215) Copy stack trace issue

Post by ArgyVonBargy »

erm, I cannot find the download link for it anymore
or am i just bad at navigating the internet?

https://www.yourkit.com/eap doesn't work.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: EAP (2021.11-b215) Copy stack trace issue

Post by Vladimir Kondratyev »

EAP is over. GA version can be downloaded at https://www.yourkit.com/download/
Post Reply