Javascript Debugger for Safari
Really for “webkit’ but it’s called Dosera. Here’s how to run it…. Run the following in the command line:
defaults write com.apple.Safari IncludeDebugMenu 1
defaults write com.apple.Safari WebKitScriptDebuggerEnabled -bool true
Restart Safari Download a nightly build of webkit and run Dosera:
http://trac.webkit.org/projects/webkit/wiki/Nightly%20Builds
It should attach to Safari no problemo.. .You’ll see the scripts available from which to debug.. It SUCKS in comparison to VS.NET and Firebug.. but it is something at least. There is also a console that you execute arbitrary javascript in the current context… Seems to be the only way to interrogate an object at the moment is to put something like this in the console: for (var variable in myvariableInContext) alert(variable);
See this for more information:
Activity