How can we help you today? How can we help you today?

No results generated for multi-threaded console app

Hi Keith,

Thanks for writing us about this. When a multithreaded console application is closed using the close button or CTRL-C, the application's threads are not proplerly shut down and ANTS Profiler doesn't realize that the application has finally exited.

The only way that ANTS Profiler is going to know that the application had been successfully closed is if the application traps the CTRL-C event or the window closing event and stops all of the running threads. The alternative to having to re-write the code is to use ANTS Profiler's 'snapshot' function to get the results.
Brian Donahue
0

Comments

1 comment

  • Brian Donahue
    ANTS Profiler 2.5 will now properly detect that an application has exited. In some circumstances, an error message may be displayed if ANTS Profiler could not get the performance data, but it shouldn't stay in a wait-state any more.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.