Is there a way to set a temporary breakpoint using a debug command, similar to the "Go To Line" right-click menu option? I'd like to set breakpoints via the BreakSet debug command that only break program execution once. I'm trying to get the breakpoint to delete itself; I can execute the BreakDelete function as part of the breakpoint command but the command doesn't know the current breakpoint number. Any other method to do this?
Thanks, Robert
if (!flag) nop flag = 1
and breakpoint on the nop