Debugging in the New IDE
Integrated debugging occurs in the Visual Studio IDE. There are also some external tools for debugging. DbgUrt.exe is a Common Language Runtime debugger, and Cordbg.exe is a CLR test debugger shell, a command-line debugging utility.
The CLR includes a suite of extended debugging capabilities defined in the System.Diagnostics namespace. Diagnostics includes the Singleton Debug object, which includes Assert, and Writeline, which replaces Print. (Refer to Listing 1.2 for an example of the Writeline statement.) There are new methods in the Debug object for Tracing and much more.
To give you a taste of the new power you will find in System.Diagnostics, Listing 1.8 provides a brief example of an attribute tag that instructs ...
Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.