softice -Breakpoints

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

你可能感兴趣的:(command,Go)