Enum x86::debugregs::BreakCondition
source · [−]pub enum BreakCondition {
Instructions,
DataWrites,
IoReadsWrites,
DataReadsWrites,
}
Expand description
Specifies the breakpoint condition for a corresponding breakpoint.
Variants
Instructions
00 — Break on instruction execution only.
DataWrites
01 — Break on data writes only.
IoReadsWrites
10 — Break on I/O reads or writes.
Notes
For this type to be available, the DE (debug extensions) flag in control register CR4 must be set.
DataReadsWrites
11 — Break on data reads or writes but not instruction fetches.