Enter the process debugger
#include <sys/neutrino.h> void DebugBreak( void );
libc
The DebugBreak() kernel call activates the process debugger if you're debugging the process. If not, it sends a SIGTRAP signal to the process.
None.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
If you call DebugBreak() from an interrupt handler, it'll activate the kernel debugger (if it's present in your boot image) or send the process a SIGTRAP signal.
DebugKDBreak(), DebugKDOutput()