Crash with console applications

Questions about YourKit .NET Profiler
Post Reply
zano04
Posts: 1
Joined: Mon Jul 03, 2006 8:49 am

Crash with console applications

Post by zano04 »

Hi,

I am trying to profile a console application. I have inserted Console.ReadKey() calls in my code, in all the places where I want to take a snapshot.
But each time, the profiler reaches Console.ReadKey() , the application crash.

Everything works fine if I remove the Console.ReadKey() but I can't take my snapshots.

Any ideas to workaround that?

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

Post by Vladimir Kondratyev »

Please send to [email protected] a small application which reproduces the problem. Also provide the version of .NET framework you are using (open Help | About in Visual Studio 2005)
Post Reply