atom0s Moderator
Reputation: 204 Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
Posted: Sun Oct 14, 2018 12:52 pm Post subject: |
|
|
The 'context' is set to globals when debugger_onBreakpoint is called.
Code: |
When a breaking breakpoint hits (that includes single stepping) and the lua function debugger_onBreakpoint() is defined it will be called and the global variables EAX, EBX, .... will be filled in
Return 0 if you want the userinterface to be updated and anything else if not (e.g You continued from the breakpoint in your script)
|
So you can directly access the registers as globals in Lua. _________________ - Retired.
|
|