I am trying to debug the solution but unable. Please guide, I am using VS2012 with power tools.
Thanks & Regards,
To debug I:
Compile the solution in debug mode in Visual Studio.
Deploy to SharePoint from visual Studio
Open the sharepoint page I want to debug in the web browser.
Attach the visual studio debugger to the asp.net app pool process (w3wp.exe)
Hello Coulson ,
Thanks for quick response, I am doing the same, I am familiar with debugging SharePoints' solutions and using w3wp process. I have added breakpoints on various locations in utils.cs and in RoleNew.aspx but no breakpoint hits even when the new role is created.
Please suggest. Thanks
Strange - I haven't had any issues with breakpoints being hit. Why not make a change (add some text to the page or something) and redeploy just to make sure that the debug version you're deploying is actually being deployed. If that doesn't work, are you
sure you're attaching it to the correct w3wp process? Usually there's a few of them, and I don't always guess correctly.
I've found that if I attach to all w3wp processes, it doesn't work. It only works if I attach to the one correct process.