Tim Huffam

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

  Home  |   Contact  |   Syndication    |   Login
  153 Posts | 0 Stories | 2422 Comments | 653 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


# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 12/4/2008 2:44 AM Stuart
Cheers for this. Just want to add that I tried all of this and the breakpoint still didn't hit (it said the page wasn't loaded). Refresh the page and lo and behold, the page is loaded and the breakpoint hits .. love VS2008 ...

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 7/1/2009 7:01 AM ralph
I have this problem. When I try and attach Iexplore.exe is greyed out so I can't attach :(

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 7/3/2009 2:16 AM Kiran Chandran
Helped me really........Hats off

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 9/23/2009 5:17 PM diboj
BRAVO !

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 10/30/2009 3:08 PM Srinivas
Thanks, I was working on visual interdev, but your solution fixed my problem as well

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 3/2/2010 11:41 AM Sabir
Thanks Buddy..its helped a lot

# re: VS2008 Javascript debugging error: The breakpoint will not currently be hit. No symbols have been loaded for this document 3/22/2011 11:31 AM Amrita
I was looking for this only , This helped me a lot thanks a lot

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: