Debugging using VC# Express

Hi,

How do we debug using the VC# express edition




Answer this question

Debugging using VC# Express

  • sticksnap

    You place break points by clicking the left edge of the code window. Then you hit F5 to start the program in debug mode. The program stops on every breakpoint (you can also set some conditions to break points). When stopped, you can inspect the object values in VC#, and when ready, hit the "play" button (a triangle) in VC# to continue

    You can also print out debug messages, that are shown in VC#'s output window:
    using System.Diagnostics;
    ...
    Debug.WriteLine("Doing some hard calculation here");

  • Debugging using VC# Express