Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Not enough information

Moderators: Vladimir Kondratyev, Anton Katilin

Not enough information

Postby xbmono » Tue Nov 14, 2017 3:23 am

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
xbmono
 
Posts: 1
Joined: Tue Nov 14, 2017 3:19 am

Re: Not enough information

Postby Vladimir Kondratyev » Wed Nov 15, 2017 11:09 am

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!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to ProjectX

Who is online

Users browsing this forum: No registered users and 1 guest

cron