[ 原始碼: debugbreak ]
套件:debugbreak(1.0-1)
Put breakpoints in C/C++ code
debugbreak.h allows one to put breakpoints in their C/C++ code with a call to debug_break(). Include the header file and insert calls to debug_break() in the code where one wishes to break into the debugger. debugbreak supports GCC, Clang. debugbreak works well on ARM, AArch64, i686, x86-64, POWER and has a fallback code path for other architectures.