General Question

segdeha's avatar

Is there a JavaScript debugger that works with Dashboard widgets?

Asked by segdeha (1707points) 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

Perchik's avatar

Safari has it's own debug menu, but it is turned off by default.

http://developer.apple.com/internet/safari/faq.html#anchor14 see htat for turning it on. Or grab the safari enhancer:

http://www.celestialfrontiers.com/safari_enhancer.php

segdeha's avatar

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.

segdeha's avatar

I see Drosera as a true debugger for WebKit, but is there a way to attach it to a widget?

ben's avatar

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

bw's avatar

I'm told Dashcode has some tools for debugging, but I have no idea if it's anywhere close to what you need.

segdeha's avatar

@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

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther