8#ifndef PXR_ARCH_DEBUGGER_H
9#define PXR_ARCH_DEBUGGER_H
86#if defined(ARCH_COMPILER_GCC) || defined(ARCH_COMPILER_CLANG)
87#define ARCH_DEBUGGER_TRAP do { pxr::ArchDebuggerTrap(); asm(""); } while (0)
89#define ARCH_DEBUGGER_TRAP do { pxr::ArchDebuggerTrap(); } while (0)
Define function attributes.
#define ARCH_NOINLINE
Macro used to indicate that a function should never be inlined.
Definition attributes.h:58
ARCH_API void ArchDebuggerWait(bool wait)
Cause debug traps to wait for the debugger or not.
ARCH_API bool ArchDebuggerAttach() ARCH_NOINLINE
Attach a debugger.
ARCH_API void ArchDebuggerTrap() ARCH_NOINLINE
Stop in a debugger.
ARCH_API void ArchAbort(bool logging=true)
Abort.
ARCH_API bool ArchDebuggerIsAttached() ARCH_NOINLINE
Test if a debugger is attached.