简体   繁体   中英

Debugging the logic of a deployed solution on SharePoint 2010 through Visual Studio

我已经在服务器场上部署了一个解决方案,并且希望能够在服务器场上运行时调试解决方案的逻辑,因为问题存在于那里,有没有办法或意味着可以调试解决方案(.wsp)通过visual studio部署在服务器场上?

You can either click F5 in Visual Studio and it will deploy the solution and attach a debugger to the appropriate SharePoint process. This can be a little slow but it allows you to debug your code.

You can also manually attach to the SharePoint process from Visual Studio. Go to Debug-->Attach to Process-->Check show processes from all users and sessions-->Select all w3wp.exe processes-->Click attach.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM