I don't know about y'all but nothing make s me more frustrated than debugging JS. Got a note from my boss this morning singng the praises of FireBug?
http://www.getfirebug.com/
It's for Firefox so it looks like I'm making the official switch! (it's worth it since I do work with JS often.)
Figured I would pass this on.
-
-
Oooo .... FirebugLove++ ... I would be a very frustrated web-working-camper if it would not be for Firebug ... makes my life much, much easier.
-
Is there a decent javascript debugger that I can use to debug javascript written for the sidebar? Because it's frustratingly impossible with VS Express. (No 'attach to process'.)
-
Firebug is my friend

-
in IE: Visual Studio [.NET] 200x Debugger, Microsoft Script Debugger
in Firefox: Visual Studio .NET 2003 Debugger, Firebug
firebug is great of course but for me with Visual Studio Debugger is easier to work -
VS 2008 offers JavaScript debugging
You can place breakpoints in there etc. -
in Visual Studio 2005 you can also place breakpoints in javascript code located in .js files, and for code in .ascx or other places she could use debugger keywordlittleguru wrote:VS 2008 offers JavaScript debugging
You can place breakpoints in there etc.
-
Ion Todirel wrote:
in Visual Studio 2005 you can also place breakpoints in javascript code located in .js files, and for code in .ascx or other places she could use debugger keyword
littleguru wrote:
VS 2008 offers JavaScript debugging
You can place breakpoints in there etc.
the debugger keyword has not proven that helpful to me.
That's awesome about 2008. -
VS2003 + 05 and 08 all have javascript debugging built in, including support of immediate execution.
You have to have IE set to allow debugging, make sure 'disable script debugging' is off in Internet Options->Advanced, if you disable this option you may have to restart IE.
the debugger keyword will then break and you can also have 'Script debugger' menu item in the view menu that has 'Open' and 'Break at next statement' options.
Combined with IE dev toolbar, you get a very powerfull developement enviroment.
Firebug is great though and usefull when you are working with Firefox. There is a version of IE to if you look around the FireBug site - Never NEEDED it though, see above.
-
Bas wrote:
Is there a decent javascript debugger that I can use to debug javascript written for the sidebar? Because it's frustratingly impossible with VS Express. (No 'attach to process'.)
Javascript in the gadgets can be debugged using Visual Studio if you uncheck BOTH these options in Internet Explorer:- Disable Script Debugging (Internet Explorer)
- Disable Script Debugging (Other)
just use the debugger; keyword to trigger the 'choose a debugger' dialog. -
The JavaScript debugging support in VWD 2008 is much better than in previous versions. Scott Guthrie has the best write-up on this,
but to summarize some of my favorite features:
1) Be able to walk through JavaScript files created by ASP.NET controls.
2) Immediate, Watch, Locals Windows including DOM navigation
3) Visualizer support so you can see text, HTML, XML, fragments
And yes, Firebug is awesome
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.