Debugging in Code

The .NET Framework offers the ability to interact with the debugger via managed code. You can use two classes, System.Diagnostics.Debug and System.Diagnostics.Trace, to verify conditions and evaluations that can be useful to provide feedback about your code if it is working correctly. Information generated by these classes can eventually be added to the application.


Debug and Trace are Shared

Both Debug and Trace classes are zero-instance shared classes and therefore expose only shared members.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.214.155