View previous topic :: View next topic |
Author |
Message |
MulleDK19 Cheater
Reputation: 0
Joined: 12 Aug 2012 Posts: 25 Location: Denmark
|
Posted: Tue Sep 15, 2015 2:37 pm Post subject: debugger_onBreakpoint() - Get address of hit breakpoint |
|
|
OLD PROBLEM (Read EDIT below):
I'm trying to set a data breakpoint using debug_setBreakpoint(PatchPoint, bptWrite);
However, debugger_onBreakpoint() is never executed with neither bptAccess nor bptWrite.
I can see the breakpoint being set in the disassembler view.
Everything works, if I remove the breakpoint, then put the breakpoint again manually at the same spot.
EDIT: Okay, it works if I use debug_setBreakpoint(PatchPoint, 1, bptWrite); instead.
So another question. How do I retrieve which address the breakpoint is at? For bptExecute I can simply check RIP/EIP, but how do I check it with data breakpoints (Without having to know the instruction that accessed it)?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25778 Location: The netherlands
|
Posted: Tue Sep 15, 2015 3:11 pm Post subject: |
|
|
That's fixed for next version (You can add a function per breakpoint)
For now though, you'll have to figure this out yourself(disassemble the previous instruction , parse, and check the registers), or limit to one such breakpoint at a time
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
MulleDK19 Cheater
Reputation: 0
Joined: 12 Aug 2012 Posts: 25 Location: Denmark
|
Posted: Tue Sep 15, 2015 6:44 pm Post subject: |
|
|
Dark Byte wrote: | That's fixed for next version (You can add a function per breakpoint)
For now though, you'll have to figure this out yourself(disassemble the previous instruction , parse, and check the registers), or limit to one such breakpoint at a time |
Okay, thanks.
Any idea when this 'next' version will be out?
|
|
Back to top |
|
 |
|