Pixar Arch
|
Routines for interacting with a debugger. More...
Go to the source code of this file.
Namespaces | |
namespace | pxr |
Macros | |
#define | ARCH_DEBUGGER_TRAP do { pxr::ArchDebuggerTrap(); } while (0) |
Stop in the debugger. | |
Functions | |
ARCH_API void | pxr::ArchDebuggerTrap () ARCH_NOINLINE |
Stop in a debugger. | |
ARCH_API void | pxr::ArchDebuggerWait (bool wait) |
Cause debug traps to wait for the debugger or not. | |
ARCH_API bool | pxr::ArchDebuggerAttach () ARCH_NOINLINE |
Attach a debugger. | |
ARCH_API bool | pxr::ArchDebuggerIsAttached () ARCH_NOINLINE |
Test if a debugger is attached. | |
ARCH_API void | pxr::ArchAbort (bool logging=true) |
Abort. | |
Routines for interacting with a debugger.
#define ARCH_DEBUGGER_TRAP do { pxr::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.