Function bugsalot::debugger::break_if_attached
source · [−]pub fn break_if_attached()
Expand description
If a debugger is attached, breakpoint here.
Platforms
Platform | State | Notes |
---|---|---|
Windows | OK | |
Android | OK | |
Linux | OK | See state() for known bugs, signal type might be wrong/suboptimal for debuggers. |
FreeBSD | ??? | Untested, signal type might be wrong/suboptimal for debuggers |
NetBSD | ??? | Untested, signal type might be wrong/suboptimal for debuggers |
OS X | ??? | Untested, signal type might be wrong/suboptimal for debuggers |
iOS | ??? | Untested, signal type might be wrong/suboptimal for debuggers |
WASM | OK |
Examples
use bugsalot::debugger;
debugger::break_if_attached();