ASP.NET IIS网站为什么Global.asax的Application_Start方法设断点跟踪不运行?
ASP.NET IIS网站为什么Global.asax的Application_Start方法设断点跟踪不运行?
ASP.NET IIS网站为什么Global.asax的Application_Start方法设断点跟踪不运行?
原因&解决方案:
Application_Start方法是网站程序第一次运行的时候调用。
设断点跟踪不到是因为IISExpress已经运行了!
关闭IISExpress后,在VS内运行网站,就可以跟踪到断点。
