Here are the steps I’m using to explore the Properties and Methods of the SP.* Namespaces:
- Navigate to a SharePoint 2010 Blank Site
- Click on the Page tab (to load Fluent UI JavaScript files)
- Press F12 to launch the IE Dev Toolbar
- Click on the Script tab
- Press the Start Debugging button (do this before you set the breakpoint)
- Select the ScriptResource.axd file that includes MicrosoftAjax.debug.js in its header
- Search for: _onReadyStateChange
- Set a breakpoint on the first statement in this function (line 4708 in my build)
- Refresh the Page in the browser to run code to the breakpoint (be patient while it spins up)
- Click the Watch tab
- Click the Click to add... textbox
- Type SP and press <Enter>
- Explore...
Way easier than dinking around in the debug.js files!
<Todd />