PyCommand
import immlib
def main(args):
imm = immlib.Debugger()
imm.setBreakpoint(0x411077)
imm.setReg("EAX",0x0)
imm.log("EAX: {}".format(imm.getRegs()['EAX']))
imm.run()
return "OK"
Log
EAX: 0
Breakpoint at 0x411077
OK
The log write happens before setBreakpoint()
according to the log.
What is the problem?