Hi!
I want to run the emulator step by step and store the command that is running in a file for every step.
If I do these two steps after the emulator is in breaked state:
debug step disasm
and iterate over them, I've got the command that is going to be run in each moment.
But when I do:
for {set k 0} {$k<500} {incr k} { debug step; # save_to_file out${k}.txt [disasm] }
the different files have the same disasm output, always running the same step, like debug step didn't run, it doesn't advance step by step, it is stopped at the same instruction.
What am I doing wrong?
Login or register to post comments