开发者

Debug HTTP Module Init Event From ASP.NET Application

开发者 https://www.devze.com 2023-01-17 03:31 出处:网络
Is it possible to开发者_JAVA技巧 debug the init event from a http module? If I set breakpoints, they don\'t get triggered.You can attach a debugger at runtime by adding the following before the point

Is it possible to开发者_JAVA技巧 debug the init event from a http module? If I set breakpoints, they don't get triggered.


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

System.Diagnostics.Debugger.Launch()

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


Try to set in the point of the break point...

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

精彩评论

暂无评论...
验证码 换一张
取 消