5

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

asked Aug 2, 2013 at 5:19
4

5 Answers 5

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

answered Oct 3, 2017 at 15:57
Sign up to request clarification or add additional context in comments.

Comments

1

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.

answered Dec 7, 2016 at 5:43

Comments

0

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

answered Aug 2, 2013 at 5:24

3 Comments

I tried it but i haven't found any WebBrowserServer.exe.. I tried with IE, chrome and firefox...The breakpoint never fires.
Try attaching the processes named "w3wp.exe"
I am running from my localhost...I didn't find w3wp.exe
0

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.

answered Nov 7, 2013 at 13:17

Comments

0

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

answered May 24, 2019 at 7:21

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.