If I write this:
class Program
{
static void Main(string[] args)
{
throw new Exception("lol");
}
}
and run exe from the command line, I will get two entries in the event log. One of them is an application error, which says that there was an unhandled exception, and the other contains a stack trace with a source like .NET Runtime.
If I write this:
class Program
{
static void Main(string[] args)
{
Recurse4Evr();
}
static void Recurse4Evr()
{
Recurse4Evr();
}
}
I get only one entry in the event log that says about the application error and that there is an exception. There is no second record with a stack trace, so it is almost useless.
? DebugDiag , , DebugDiag . , - . , , , .
, , , . - , . microsoft , ? ?