Debugger() was called!
October 24th, 2008
Hey programmers! Is your WebKit-enabled app suddenly crashing in XCode every time you run it? Does “Debugger() was called!” inexplicably showing up in the run log? Is it driving you up the wall?
Me too, so I decided to figure out what the hell was going on, and it turns out that it’s all Adobe’s fault. Imagine that! Apparently, in the new Flash 10 release, somebody left a call to Debugger() in the code. This is in the final, non-beta Flash 10. I’d expect calls to Debugger() in a beta, but to leave that in a final release does not inspire confidence in the rest of the code.
So yeah, if your app uses WebKit, and you’re running your app in XCode, and some page your WebKit is loading has Flash content, bam. Instant stop.
Until Adobe gets their act together, the only solution is turn off “Stop on Debugger() /DebugStr()” in the XCode “Run” menu. Which means, if your own code uses Debugger or DebugStr(), sorry, you can’t use it until Adobe fixes their screwup.
January 28th, 2009 at 2:37 am
Thanx lot guy , you really save my life ! Adobe Are Noobs !
June 10th, 2009 at 3:54 am
Thank you very much!!! You described exactly the case (including us climbing on walls).
August 12th, 2009 at 2:15 am
Thanks for the tipp. Saved me hours of debugging
August 16th, 2009 at 8:17 pm
[...] you stinkblog, thank you for saving me a great deal of pain debugging this. PandoraBoy work can now continue. [...]
September 1st, 2009 at 3:09 pm
Thanks a lot, man!
Your post did not saved me ours of debugging, because I spent the last two days trying to solve this. But now it’s working.
Thanks again.