Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - this command prints a list of all breakpoints into the log window: http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
This command prints a list of all breakpoints into the log window:


     Break

This command sets a break point.  See the section entitled Breakpoints for
details about breakpoint operation.


     Break [|/Set|/Byte|/Word|/DWord|/Modify]
               <address> [ {<do_command>} [ { <condition> } [ <countdown>
]]]

This command deactivates a breakpoint:


     Break/Deactivate <brkid>

This command enables a breakpoint:


     Break/Activate <brkid>

This command clears a breakpoint:


     Break/Clear <brkid>

This command toggles a breakpoint through the active/inactive/deleted
states:


     Break/Toggle <brkid>

This command turns on the resume option in the breakpoint:


     Break/Resume <brkid>

This command turns off the resume option in the breakpoint:


     Break/UnResume <brkid>

The Break options are:

/Set (default)
    the breakpoint triggers when <address> is executed

/Byte
    the breakpoint triggers when the byte at <address> is modified

/Word
    the breakpoint triggers when the word at <address> is modified

/DWord
    the breakpoint triggers when the double word at <address> is modified

/Modify
    the breakpoint triggers when integer at <address> is modified

<condition>
    an expression that must be true (non-zero value) before the breakpoint
    stops program execution

<countdown>
    an integer.  The breakpoint will not stop program execution until
    <countdown> is decremented to zero.

    Note:
        If you specify both <condition> and <countdown>, <countdown>
        decrements only when <condition> evaluates to true.

<do_command>
    a command that is executed each time the breakpoint stops program
    execution

<brkid>
    option can be three possible values:

    <address>
        Perform the operation on breakpoint with the given address.

    *
        Perform the operation on all breakpoints.

    #<integer>
        Names a breakpoint by its index.  This index can be discovered on
        the title line of the Breakpoint dialog.


Some examples of the break command and a description follow:

This command sets a breakpoint at "foo" the 20th time that i equals 10.
 When this occurs 'do j7' is executed:


     Break /Set foo {do j7} {i10} 20

This command clears the breakpoint at foo:


     Break /Clear foo

This command activates breakpoint #1:


     Break /Activate #1

This command deactivates all breakpoints:


     Break /Deactivate *

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson