i'm a newbie and i need help on the debug api. what i am trying to do is to set an execution breakpoint on a memory address (just like bpx in softice) and when the debugee breaks my program catch the register values and manipulate them.
actually i'm trying to make a game trainer, that i hope using this method i can resolve the DMA address....

i already read Iczelion's debug api tut but i havent got what i need, how would i set a breakpoint ?

thanx in advance.
Posted on 2001-11-09 05:53:07 by MiCRaL
There is easyer solution for your purpose...u don't have to use debug api. Just make use of Softice's BPM/BPR commands to find the code which manipulates the variables from random mallocs (I sugest to say like that, not DMA)...and then just patch that code on disk or in memory.
Posted on 2001-11-09 17:04:40 by DZA
Place a 0CCh at the point where you want to break. This is shorthand
for "int 3", the breakpoint interrupt. I dunno what happens when
a debuggee executes this, but either it raises a int3 fault (which
can be trapped with SEH) or, if you're lucky :), it will cause a debug
Posted on 2001-11-09 17:52:51 by f0dder
thanx i'll try that.

to dza : i can use SI, but i want my prog to be able to catch the address
Posted on 2001-11-10 03:51:51 by MiCRaL