开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜