Vlad the Impala
Vlad the Impala

Reputation: 15882

Debugging a swf that crashes the Flash plugin

I have a swf that crashes the Flash plugin on Chrome. It crashes Firefox entirely. I'm trying to debug the swf to figure out what part is causing the crash. The problem is, before I can start using any debugger, the plugin crashes. I don't know of any way to get a backtrace on the crash. Is there some other way I could debug this swf?

Upvotes: 2

Views: 1541

Answers (5)

Sean
Sean

Reputation: 49

Download the Standalone Flash Debugger and open your swf with that.

Upvotes: 1

Vlad the Impala
Vlad the Impala

Reputation: 15882

If anyone's curious, I was able to implement a rudimentary trace() function by using ExternalInterface to throw javascript alerts back to the browser. The swf wouldn't crash as long as an alert box was up, and the info I traced through the alerts were enough to (slowly) debug the swf.

Upvotes: 1

angel of code
angel of code

Reputation: 686

I suggest using the Swf projector instead of a browser plugin. this will probably be more stable. Also, see if there's a newer version of the debug swf plugin.

Also, try the free flashdevelop IDE. it has a great debugger.

Upvotes: 1

OXMO456
OXMO456

Reputation: 3548

you should test your application step by step, using trace and breakpoints... until you find the problematic part !

Upvotes: -1

servermanfail
servermanfail

Reputation: 2538

You should report and post this to Adobe, you'll be doing us all a favour, because no flash plugin should ever crash its framework.

Upvotes: 2

Related Questions