admin管理员组

文章数量:1302913

I tried to debug my javascript but it doesn't fires the breakpoint.

I am using IE8 and VS2010.

On trying to add

debugger;

an error occurs like;

An unhandled exception (script breakpoint) occured in iexplorer.exe Possible debuggers:

I found that Tools-->Debugging-->Just In Time-->script is unchecked.

I checked it and saved....It remains unchecked....

I repaired my visual studio still issue continues...

The issue occures after i had installed VS2012

I tried to debug my javascript but it doesn't fires the breakpoint.

I am using IE8 and VS2010.

On trying to add

debugger;

an error occurs like;

An unhandled exception (script breakpoint) occured in iexplorer.exe Possible debuggers:

I found that Tools-->Debugging-->Just In Time-->script is unchecked.

I checked it and saved....It remains unchecked....

I repaired my visual studio still issue continues...

The issue occures after i had installed VS2012

Share Improve this question asked Aug 2, 2013 at 5:19 remyaviswanremyaviswan 511 silver badge3 bronze badges 4
  • 1 have you checked in google chrome or mozila?? – Hiren gardhariya Commented Aug 2, 2013 at 5:22
  • yes i have checked...but no use – remyaviswan Commented Aug 2, 2013 at 5:51
  • Please check this. answers.microsoft./en-us/ie/forum/ie8-windows_other/… – Hiren gardhariya Commented Aug 2, 2013 at 5:56
  • If you have Google Chrome Frame installed, it could be the problem. – thepirat000 Commented Aug 2, 2013 at 6:27
Add a ment  | 

5 Answers 5

Reset to default 2

I know it's late, but I found out why this happened to me. I had

debugger;

scattered throughout my javascript file because both IE and Chrome would not hit my breakpoints.

When using IE and hitting F12 for Developer Tools, the code breaks on the debugger lines but the Windows pop-up did not open. Hitting "Continue" in the debugger window executed the code normally.

Hope this helps

I believe its too late to reply.

But deploy your solution in Visual Studio in RELEASE MODE and NOT IN DEBUG MODE.

This solution solved my problem.

Have a look at this so answer, seems you are not doing all the steps required

I had a similar problem. I renamed default.html to index.html and lost script debugging.

Go to the project properties web tab. Make sure 'Start Action' is set to 'Specific Page' and your start page is selected in the text box.

Go to Tools => Options = > Debugging => Just-In-Time and uncheck Script to sto

本文标签: Unable to debug javascript in Visual studioStack Overflow