Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  129 Posts | 0 Stories | 874 Comments | 677 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

When trying to debug javascript using Visual Studio 2008 there a couple of things you need to do first - otherwise it (debugging) will not work and you'll get the following error when you hover over breakpoint in your javascript:

The breakpoint will not currently be hit. No symbols have been loaded for this document.

Note that this is only for debugging using IE (6) - not sure about other browsers/versions.

  1. Within IE go into Tools - Internet Options - Advanced tab and make sure the 'Disable Script Debugging' is unchecked.
  2. Make sure you have a breakpoint in your javascript.
  3. Start debugging your web app in VS.
  4. Within VS select menu item Debug - 'Attach to Process...'
  5. On the Attach to Process dialog, select the row which has explorer.exe for your app (the Title column will have you page title on it), then click Attach.

That's it - when your breakpoint is reached the VS debugger will be triggered.

HTH
Tim

posted on Monday, August 18, 2008 10:04 AM

Feedback

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 9/18/2008 12:04 AM Damir
Helped me!

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 11/18/2008 7:20 AM free pc games
my congratulations for the award you really earned it, anyway good work


Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 7 and 2 and type the answer here: