attach to a W-process (N is its ID, numeric
or hexadecimal (0xN)). IDs can be obtained using
the info process command. Note the info process
command returns hexadecimal values.
removes any existing condition to
(break|watch)point N
cond N <expr>
adds condition <expr> to (break|watch)point
N. <expr> will be evaluated each time the
breakpoint is hit. If the result is a zero value,
the breakpoint isn't triggered
break * N
adds a breakpoint at address N
break <id>
adds a breakpoint at the address of symbol
<id>
break <id> N
adds a breakpoint at the address of symbol
<id> (N ?)
break N
adds a breakpoint at line N of current source file
break
adds a breakpoint at current $PC address
watch * N
adds a watch command (on write) at address N (on 4
bytes)
watch <id>
adds a watch command (on write) at the address of
symbol <id>
info break
lists all (break|watch)points (with state)
You can use the symbol EntryPoint to stand for
the entry point of the Dll.
When setting a break/watch-point by <id>, if the
symbol cannot be found (for example, the symbol is contained
in a not yet loaded module), winedbg will recall the name of
the symbol and will try to set the breakpoint each time a
new module is loaded (until it succeeds).
A display is an expression that's evaluated and printed
after the execution of any winedbg
command.
winedbg will automatically detect if the
expression you entered contains a local variable. If so,
display will only be shown if the context is still in the
same function as the one the debugger was in when the
display expression was entered.
Table 1-7. WineDbg's displays
info display
lists the active displays
display
print the active displays' values (as done each
time the debugger stops)
display <expr>
adds a display for expression <expr>
display /fmt <expr>
adds a display for expression
<expr>. Printing evaluated <expr> is
done using the given format (see
print command for more on
formats)