Enter the process debugger
#include <sys/neutrino.h> void DebugBreak( void );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The DebugBreak() kernel call activates the process debugger if you're debugging the calling process. If not, it sends a SIGTRAP signal to the process.
Blocking states
None.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |