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

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

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.

Comments

0

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

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.

Comments

0

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

Comments

Your Answer

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.