magicalhobo / SWFWire

Flash Development Tools

Home Page:http://www.swfwire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugger write error on large SWF files

toxikman opened this issue · comments

I'd love to use the SWFWire Debugger to find objects that do not (but should) get garbage collected. But our rather large application fails with an error. Mac OS X 10.6. Here's the console:

Injection loaded
Attempting to load: file://localhost/private/tmp/game.swf
Loading: file://localhost/private/tmp/game.swf
Reading swf took: 829ms
Modifying swf took: 1423ms
Writing swf took: 3107ms
Writing to: /Applications/SWFWire Debugger.app/Contents/Resources/file:/localhost/private/tmp/game.swf.recompiled.0.swf
Error writing file to: file://localhost/private/tmp/game.swf.recompiled.0.swf

Everyone has read & write permissions in the tmp folder.

When I use an HTTP URL via localhost apache, I get the same thing, but the last line of the Console is:

Error writing file to: app-storage:/localhost-path-game.swf.recompiled.0.swf

Thanks for reporting this issue. This is definitely a bug on mac, but it shouldn't prevent the Debugger from working. It's only trying to cache a modified version of your swf to disk. What happens after you get this error? Do you see your swf and the properties panel, etc?

No the properties, methods, and styles tabs are empty and I don't see my SWF running anywhere. At the top it says 0 objects.

Have you tried with other, less complicated swfs? If there's just a problem with this swf, is it possible you could send it to me?

Less complicated swfs work, but some fail. I found a simpler one that fails that I could send to you. What's your email?