JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

List of issuesList of issues

#707 Debug Hook
Date created:
Type: feature
Visibility: Everybody
Assigned to: admin JPEXS
Labels: Tools
State: closed Help

Hello, I know its not possible to make a debug attached to a swf process. but i would like to know if its possible to make a feature that would make a output to ffdec window. Something like a "trace" function. That would be awesome and very helpfull. Thanks
Hi, In latest nightly build, something like this was implemented. You can switch Debugger on for a SWF file, which will add few functions to it. They are located in package "com.jpexs.decompiler.flash.debugger". debugAlert - calls javascript alert debugConsole - calls javascript console.log debugSocket - call FFDec debugger via socket connection. use this one when javascript access is not allowed for example You can display Debugger log with "Show log" button on the menu panel. When you run the SWF in your browser, debugSocket calls will show in FFDec, otherones in the browser only. You can see console.log/alert calls in FFDec log too when you view the SWF in FFDec (click on root filename). You can replace existing calls to trace method with the button from menu. When Debugger is disabled again, all debugger classes are removed and the three method calls are replaced with standard trace again. I hope this is not much confusing for you :-). I think it may be useful.
State: new→upgraded
Assigned:admin JPEXS
Tks m8, i will give it a try, if im lost ill post it here =) tks.
I hope you tried it in the last 1,5 months, and everything was ok. I close this issuse due to inactivity. Please create issue if you find any problem.
State: upgraded→closed