24 #ifndef PXR_BASE_ARCH_DEBUGGER_H
25 #define PXR_BASE_ARCH_DEBUGGER_H
103 #if defined(ARCH_COMPILER_GCC) || defined(ARCH_COMPILER_CLANG)
104 #define ARCH_DEBUGGER_TRAP do { ArchDebuggerTrap(); asm(""); } while (0)
106 #define ARCH_DEBUGGER_TRAP do { ArchDebuggerTrap(); } while (0)
111 #endif // PXR_BASE_ARCH_DEBUGGER_H
ARCH_API void ArchAbort(bool logging=true)
ARCH_API void ArchDebuggerWait(bool wait)
ARCH_API bool ArchDebuggerIsAttached() ARCH_NOINLINE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
PXR_NAMESPACE_OPEN_SCOPE ARCH_API void ArchDebuggerTrap() ARCH_NOINLINE
ARCH_API bool ArchDebuggerAttach() ARCH_NOINLINE