Is there a JavaScript debugger that works with Dashboard widgets?
Asked by
segdeha (
1720)
June 21st, 2007
I've grown accustomed to the Firefox plug-in Firebug for JavaScript debugging. Who knew that stepping in and over breakpoints could be so much fun? Anyway, is there something comparable that works in Apple's Dashboard environment?
Observing members:
0
Composing members:
0
6 Answers
Ah yes, I have long had the debug menu turned on. AFAIK, this only allows you to show a JavaScript console that lists any errors that may have occurred in the execution of the code. What I'm asking for specifically is a way to set breakpoints in widget JavaScript, then to step in, through, etc. as in a proper debugging application.
I see Drosera as a true debugger for WebKit, but is there a way to attach it to a widget?
You could also try Firebug Lite, which works on any browser. it's not as full featured as Firebug, but functionally I've found it useful and it's gotten me out of a few jams. Especially because it works on IE as well. http://www.getfirebug.com/lite.html
I'm told Dashcode has some tools for debugging, but I have no idea if it's anywhere close to what you need.
@ben, Thanks, Firebug Lite is cool, but it looks like it's only an error console. I'm really looking for something that lets me set breakpoints in my code.
@bw, Having built widgets "by hand" long before Dashcode was an option, I didn't even think to check out its debugging options. I'll take a look.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.