[][src]Module bugsalot::debugger

APIs for interacting with native debuggers for the current process.

This includes:

This is not intended to include:

  • Script-only debuggers
  • GPU/shader debuggers
  • Java-only debuggers like jdb
  • Stealthy reverse engineering emulators

Enums

State

Describes the possible states of the debugger: Detatched, Attached, or Unknown

Functions

break_if_attached

If a debugger is attached, breakpoint here.

state

What is the current state of the debugger, with regards to this process? Attached? Detatched? Unknown?

wait_until_attached

Wait for a debugger to be attached to the current process. Will return an Err("...") if the debugger state is unknown, or waiting for the debugger times out.