Setting a one-shot Breakpoint
A one-shot breakpoint clears after the breakpoint is triggered.
1.Use the U command,specify the source line 145 as follows:
:U .145
2.Use the HERE command(F7) to execute to line 145.
Note: you can do the same thing by using the G(go) command.
The HERE command executes from the current instruction to the instruction that contains the cursor.
Setting a sticky Breakpoint
Unlike the HERE command,the BPX command sets a sticky breakpoint.
A sticky breakpoint remains until you clear it.
To view information about breakpoints that are currently set,use
the BL command.
use the dot(.) command to return to the EIP.
Enter the BC command to clear the breakpoints.
Use the BPE command to modify (or edit) the existing breakpoint.
:BPE 1
Setting a Conditional Breakpoint
:BPX openConnextionToTestDriver IF (gWarnings==TRUE)
Setting a Read-Write Memory Breakpoint
Use the BPMD command to set a dword memory breakpoint .
:BPMD employee.salary w
本文介绍如何使用U命令设置一次性触发后清除的断点,使用BPX命令设置持久性断点,以及通过HERE命令执行到指定行。此外还介绍了查看当前断点信息、返回到EIP、清除断点的方法,并涉及条件断点及读写内存断点的设置。
3980

被折叠的 条评论
为什么被折叠?



