First of all, you should fill the following structure, set the StepType
to the type of step that you want to perform (e.g., step-in, step-over, and instrumentation step-in), and if it's a step-over (only step-over), then if the currently executing instruction is a call instruction, set the IsCurrentInstructionACall
to TRUE
and also set the length of the current call instruction (if it's a call instruction) to CallLength
, so you can hint the debuggee to find the next instruction. In step-over, just set the StepType
and set all the other members to null.