views:

78

answers:

3

I tried setting a breakpoint in visual studio in a JavaScript file and i get a message when i hover on the breakpoint, which is:

"The breakpoint will not currently be hit. The document is not loaded."

I am using firefox. Is it possible to hit the breakpoint and how?

+3  A: 

No; Visual Studio's Javascript debugger only supports IE.

You should use the Javascript debugger in Firebug.

SLaks
+1  A: 

No ... for firefox debugging of javascript, use firebug

Joel Martinez
+2  A: 

No.

Javascript Debugging in Visual Studio hooks in to the IE Script engine to hit breakpoints. As far as I know, there's no Firefox extension to allow VS to hook in to Mozilla's Javascript Engine.

You could always download Firebug, set breakpoints there, and debug Javascript using that.

Justin Niessner