开发者

ASP.NET: How do you debug dynamically loaded user controls using LoadControl(string path);

开发者 https://www.devze.com 2022-12-09 21:59 出处:网络
ASP.NET: How do you debug dynamically loaded user controls using 开发者_运维百科LoadControl(string path);If everything is part of the same solution and built in debug -I believe you should be able to

ASP.NET: How do you debug dynamically loaded user controls using 开发者_运维百科LoadControl(string path);


If everything is part of the same solution and built in debug - I believe you should be able to just place a breakpoint in your user control and it will get hit.

Alternatively, in your project that contains the user control you could use Ctrl-Alt-P to attach the project to the IIS process (or WebDev.WebServer process if you're using Visual Studios built in web server aka Cassini). This way you could debug that project on it's own.

0

精彩评论

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