Crate dbg_breakpoint

Source

Macros§

breakpoint
Execute the breakpoint instruction. That might crash the program if the debugger/tracer is not able to step over the instruction.

Enums§

DebuggerPresence
Presence of a debugger/tracer. The debugger being concerned is expected to use the OS API to debug this process.

Functions§

breakpoint_if_debugging
Execute the breakpoint instruction if the debugger presence is detected. Useful for breaking into the debugger without the need to set a breakpoint in the debugger.
is_debugger_present
Detect the debugger presence.