Debugging technique for Razor Page (Visual Studio) - How to set a breakpoint?

  1. Download the following zip file.
    14 Image RazorPagesBasics -debug.zip
  2. Unzip it.
  3. Open the solution file with "MS Visual Studio".
  4. Run the program
  5. Click on the "Cafe" hyperlink.  There is a bug in the program.  Debug the program.


    Cafe Razor Page -Learn debugging

Learn how to set a break point in your Visual Studio, for debugging your code.  It can be very useful for your practical test.  

The following screenshot shows that a breakpoint (red dot) has been set in your C# program.

Set Break Point in Visual Studio for debugging.




Post a Comment

0 Comments