Orson
Orson

Reputation: 15451

Is it possible to hit a breakpoint set in a javascript file with visual studio while using Firefox?

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

Answers (3)

Justin Niessner
Justin Niessner

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

Joel Martinez
Joel Martinez

Reputation: 47799

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

Upvotes: 1

SLaks
SLaks

Reputation: 887837

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

You should use the Javascript debugger in Firebug.

Upvotes: 5

Related Questions