Tag Archives: global.asax

Hitting Breakpoints in Global.asax

Every .NET developer should know how to set breakpoints in Visual Studio 2012.

  • Right-click a line in your code, then select Breakpoint -> Insert Breakpoint.
  • Or, simply press F9 after placing your cursor on the line of code.

But, what if that line of code is in your Global.asax code? Will the breakpoint still work when you run the application? If not, what can you do to get it to work?

Continue reading