Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am studing this topic and I would like somebody to point me in the right direction for studying this.

Debug Web Parts
This objective may include but is not limited to: ULS log, and event log, debug.log tracing, developer dashboard

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

This sounds like you're studying for TS: SharePoint 2010 Application Development 70-573.

The part that says what's included are actually practices any development in SharePoint, not specific to Web Parts.

It seems strange to me though, that their list doesn't include the most powerful debugging utility available to a developer - Attaching to w3wp and stepping through your code. It seems they're more interested in having candidates know where log files are kept, rather than actual debugging methods.

Anyway, Andrew Connell did a good blog post on this a while ago for 2007: http://www.andrewconnell.com/blog/archive/2008/06/11/SharePoint-Debugging-and-Logging-Tips-and-Tricks.aspx

For Developer Dashboard, there's plenty about on the web, but first you need to enable it:

http://philwicklund.com/archive/2009/10/19/how-to-enable-the-developer-dashboard-in-sharepoint-2010.aspx

Then analyse the output from the Dashboard, here's some info about that:

http://blogs.technet.com/b/speschka/archive/2009/10/28/using-the-developer-dashboard-in-sharepoint-2010.aspx

share|improve this answer
    
thank you, very useful –  Luis Valencia Aug 20 '10 at 22:06
add comment

You can check the various tools and techniques here to debug any SharePoint 2010 solution :

http://extreme-sharepoint.com/2012/05/25/troubleshooting-sharepoint-2010-tools-techniques/

share|improve this answer
add comment

I think you can just attach the w3wp.exe process to your visual studio debugger and all done.

You should be able to hit the debug point in your code.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.