When I code:
Debug.Assert(fa lse, "this is a message");
it works fine, and out comes the dialog box.
When I code
Trace.Listeners .Clear();
Debug.Assert(fa lse, "this is a message");
No message is output.
In the debugger I see that clearing the Trace Listeners clears the Debug
Listeners. This is a problem since I am using the Trace Listeners for
logging and the debug listeners for debugging. Is this a bug? I am using
C# standard, MDE 2002.
Debug.Assert(fa lse, "this is a message");
it works fine, and out comes the dialog box.
When I code
Trace.Listeners .Clear();
Debug.Assert(fa lse, "this is a message");
No message is output.
In the debugger I see that clearing the Trace Listeners clears the Debug
Listeners. This is a problem since I am using the Trace Listeners for
logging and the debug listeners for debugging. Is this a bug? I am using
C# standard, MDE 2002.
Comment