RtIsDebuggerPresent

RtIsDebuggerPresent determines whether a local real-time process is attached to the IntervalZero Real-Time Debugger.

Syntax

BOOL RtIsDebuggerPresent(
    DWORD processID, 
    BOOL *plsPresent 
);

Parameters

processID

The valid real-time process ID. Note that Windows process IDs are not supported.

plsPresent

A pointer to the API call result. plsPresent must be allocated by the caller. It cannot be NULL.

Return Value

Returns TRUE if successful. Returns FALSE if unsuccessful. To get extended error information, call GetLastError.

Requirements

Minimum Supported Version RTX64 3.1
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also

Attaching to a Running Local RTSS Process