Any tool for debugging ActionScript ByteCode? Would like to watch registers, stacks

So, when starting SWF, is there a way to go through the lines of ABC code and observe registers, stacks? Can I at least print it on the screen or log it?

+4
source share
2 answers

What you want can be done by setting the variables TraceOutputBuffered and AS3Verbose in the mm.cfg file to 1 . > as described in detail in this post http://jpauclair.net/mm-cfg-secrets/

I managed to verify that it works for debugging flash memory 10.0 r45_2 , but it seems to not output anything to 10.1 or 10.2.

+2
source

You can use the SWFWire Inspector , which emulates the transition through code for decompilation. If you check "ByteCode" and "Stack", you will see the byte code and how it will subsequently affect the stack (or how the decompiler thinks).

I also want to indicate that the flash player will dump the stack into the trace if you put an invalid opcode in your code.

+1
source

Source: https://habr.com/ru/post/1345113/


All Articles