Not enough information

Questions about YourKit YouMonitor
Locked
xbmono
Posts: 1
Joined: Tue Nov 14, 2017 3:19 am

Not enough information

Post by xbmono »

I ran it because we have an issue with maven build where some unit tests randomly fail. Seems like a racing condition but couldn't work out what causing it. Even when turned the maven to single thread the issue is still there.

I wish ProjectX could display all the threads and especially when an error occurs or an assert fails, I would be able to see all the data, stack traces and track down everything

Thanks
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Not enough information

Post by Vladimir Kondratyev »

Hi xbmono,

thank you for suggestion.

At the moment ProjectX records only stack trace of the thread where test fails. Does your unit test spawns threads?

I can advise to use a debugger and conditional breakpoints: stop at breakpoint when error occurs.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Locked