Pixar Arch 0.25.8
|
Routines for interacting with a debugger. More...
Go to the source code of this file.
Namespaces | |
namespace | pxr |
Macros | |
#define | ARCH_DEBUGGER_TRAP do { ARCH_NS::ArchDebuggerTrap(); } while (0) |
Stop in the debugger. |
Functions | |
void | pxr::ArchDebuggerTrap () ARCH_NOINLINE |
Stop in a debugger. | |
void | pxr::ArchDebuggerWait (bool wait) |
Cause debug traps to wait for the debugger or not. | |
bool | pxr::ArchDebuggerAttach () ARCH_NOINLINE |
Attach a debugger. | |
bool | pxr::ArchDebuggerIsAttached () ARCH_NOINLINE |
Test if a debugger is attached. | |
void | pxr::ArchAbort (bool logging=true) |
Abort. |
Routines for interacting with a debugger.
#define ARCH_DEBUGGER_TRAP do { ARCH_NS::ArchDebuggerTrap(); } while (0) |
Stop in the debugger.
This macro expands to ArchDebuggerTrap()
and, if necessary and possible, code to prevent optimization so the caller appears in the debugger's stack trace. The calling functions should also use the ARCH_NOINLINE
function attribute.