Debugging an HTTP module event from an ASP.NET application

Is it possible to debug init event from http module? If I set breakpoints, they do not start.

+4
source share
2 answers

You can attach a debugger at runtime by adding the following until you want to debug

System.Diagnostics.Debugger.Launch() 

It will open a debug window and offer you options regarding what to do.

+6
source

Try setting breakpoints at the point ...

 Debug.Fail("Just a Break"); 
0
source

All Articles