O'Reilly logo

Pro SharePoint with jQuery by Phill Duffy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  4

Debugging jQuery

This chapter will introduce the necessary tools and knowledge you need in order to debug issues that you will come across when writing code. Most SharePoint developers are used to writing managed code where it's fairly straightforward to put in a breakpoint and step through the code. Luckily, this can still be done with JavaScript files in Visual Studio 2010 (as long as the debugger is attached to the right process). Sometimes it is easier to debug in the browser, because one of the benefits of working on the client side is that most modern browsers have tools that allow you to debug “on the fly.”

To explore the debugging options, it's easiest to start with just a Content Editor web part with the jQuery code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required