|
-
August 16th, 2012, 04:33 PM
#1
Debugging Javascript with FireBug and Visual Studio
Hello everyone,
I just installed FireFox for the first time so I have version 14 and have the FireBug addon setup. FireBug 1.10. I still haven't been able to figure out how to set up FireBug/FireFox to get Visual Studio to stop on a breakpoint in a javascript function. Can someone please tell me exactly what it is that I need to do with this version of Firebug and or FireFox so that I can step through javascript code in Visual Studio 2010?
-
August 20th, 2012, 10:47 AM
#2
Re: Debugging Javascript with FireBug and Visual Studio
Do you have Visual Studio's default previewer set to Firefox and not IE?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 20th, 2012, 11:21 AM
#3
Re: Debugging Javascript with FireBug and Visual Studio
Howdy,
Yep I have Visual Studio setup to use FireFox by default. The projects in Visual Studio open in FireFox. If I could get this VS/FireFox environment to break on the breakpoint I'll be happy. It's still not happening.
-
August 20th, 2012, 11:40 AM
#4
Re: Debugging Javascript with FireBug and Visual Studio
Have you checked that Control Panel / Internet Properties / Advanced / Disable script debugging (others) isn't checked?
-
August 20th, 2012, 11:53 AM
#5
Re: Debugging Javascript with FireBug and Visual Studio
That's for IE, not Firefox.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 20th, 2012, 12:07 PM
#6
Re: Debugging Javascript with FireBug and Visual Studio
Ok but why is there one box for IE and one for others then?
-
August 20th, 2012, 12:10 PM
#7
Re: Debugging Javascript with FireBug and Visual Studio
Yep, disable script debugging other(and internet explorer) are Not checked. I'm working on a project in which some test code that gets data from a web service won't work under Internet Explorer but works fine in FireFox, so that's why I'm doing the FireFox thing. Ordinarily I would be just fine working with IE.
-
August 20th, 2012, 01:49 PM
#8
Re: Debugging Javascript with FireBug and Visual Studio
 Originally Posted by S_M_A
Ok but why is there one box for IE and one for others then?
"Other" is for Windows scripting host (wscript). It's still scripting, but not directly in Internet Explorer. For example: If you run a VBScript (*.vbs) from the desktop for renaming folders or something.
 Originally Posted by viperbyte
Yep, disable script debugging other(and internet explorer) are Not checked. I'm working on a project in which some test code that gets data from a web service won't work under Internet Explorer but works fine in FireFox, so that's why I'm doing the FireFox thing. Ordinarily I would be just fine working with IE.
If it's working fine in Firefox, then Firebug shouldn't throw any errors anyway. So, in this case, you want debugging turned on for Internet Explorer.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 20th, 2012, 02:36 PM
#9
Re: Debugging Javascript with FireBug and Visual Studio
 Originally Posted by PeejAvery
"Other" is for Windows scripting host (wscript).
well now everybody knows how often I do something in that area...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|