profile as... junit plugin test in eclipse forgets data

Questions about YourKit Java Profiler
Post Reply
tcataldo
Posts: 2
Joined: Fri Feb 21, 2020 9:09 am

profile as... junit plugin test in eclipse forgets data

Post by tcataldo »

Hi,

When using "profile as..." > junit plugin test in eclipse with yourkit 2019.08, if the test ends, the performance snapshot ends up empty.

Image

Image

If I capture perf data while the test is running, everything is fine.
This was not the case when I was running yourkit 2016.02.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: profile as... junit plugin test in eclipse forgets data

Post by Anton Katilin »

Please open the *-shutdown.snapshot via "Open snapshot". It should contain all profiling information.

Please also add the line -Dyk.update.for.invisible.views=true to <user home>/.yjp/ui.ini.
tcataldo
Posts: 2
Joined: Fri Feb 21, 2020 9:09 am

Re: profile as... junit plugin test in eclipse forgets data

Post by tcataldo »

Thanks, your env var did the trick !
Post Reply