Reputation: 15451
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?
Upvotes: 0
Views: 833
Reputation: 245459
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.
Upvotes: 2