Thursday 13 October 2011

What debugging tools come with the .NET SDK?

What debugging tools come with the .NET SDK?
1. CorDBG – command-line debugger. To use CorDbg, you must
compile the original C# file using the /debug switch.
2. DbgCLR – graphic debugger. Visual Studio .NET uses the
DbgCLR.

2. What does assert() method do?
In debug compilation, assert takes in a Boolean condition as a
parameter, and shows the error dialog if the condition is false. The
program proceeds without any interruption if the condition is true.

3. What’s the difference between the Debug class and Trace
class?

Documentation looks the same. Use Debug class for debug builds, use
Trace class for both debug and release builds.

No comments:

Post a Comment