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).
EAP (2021.11-b215) Copy stack trace issue
-
- Posts: 11
- Joined: Tue Sep 07, 2021 2:57 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: EAP (2021.11-b215) Copy stack trace issue
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.
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.
-
- Posts: 11
- Joined: Tue Sep 07, 2021 2:57 am
Re: EAP (2021.11-b215) Copy stack trace issue
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.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: EAP (2021.11-b215) Copy stack trace issue
Hello,
It works in IDEA but does not work in Eclipse. We'll fix the format to be fully standard.
It works in IDEA but does not work in Eclipse. We'll fix the format to be fully standard.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: EAP (2021.11-b215) Copy stack trace issue
Update:
The next 2021.11 build will have this fixed. Meanwhile please use the profiler's built-in navigation.
The next 2021.11 build will have this fixed. Meanwhile please use the profiler's built-in navigation.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: EAP (2021.11-b215) Copy stack trace issue
Update:
We've released the build #221 which fixes the problem, please upgrade.
We've released the build #221 which fixes the problem, please upgrade.
-
- Posts: 11
- Joined: Tue Sep 07, 2021 2:57 am
Re: EAP (2021.11-b215) Copy stack trace issue
Thanks for the update!
-
- Posts: 11
- Joined: Tue Sep 07, 2021 2:57 am
Re: EAP (2021.11-b215) Copy stack trace issue
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.
or am i just bad at navigating the internet?
https://www.yourkit.com/eap doesn't work.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: EAP (2021.11-b215) Copy stack trace issue
EAP is over. GA version can be downloaded at https://www.yourkit.com/download/