Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DebugBreak

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DebugBreak

[Previous] [Contents] [Index] [Next]

DebugBreak()

Enter the process debugger

Synopsis:

#include <sys/neutrino.h>

void DebugBreak( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

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.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

Caveats:

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.

See also:

DebugKDBreak(), DebugKDOutput()


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026