DBG C QueryDebug: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:DBG_C_QueryDebug}} Query JIT (Just-in-Time) Debugger Registered Command. ;Parameters * '''Pid''' Process of ID of debuggee (Required for per-process entry) * '''Cmd''' DBG_C_QueryDebug * '''Addr''' Registration Flags ** '''DBGQ_JIT_GLOBAL''' Query registered global debugger ** '''DBGQ_JIT_PERPROC''' Query registered per-process debugger * '''Buffer''' A pointer to the buffer where the fully-qualified path name of the JIT debugger is returned. * '''Len'''..." |
No edit summary |
||
Line 20: | Line 20: | ||
;Remarks | ;Remarks | ||
The | The '''DBG_C_QueryDebug''' command returns the registered JIT debugger from a process or the system (Global). The buffer contains the JIT debugger full path name and any arguments specified to the debugger. | ||
[[Category:Debug Command]] | [[Category:Debug Command]] |
Latest revision as of 04:28, 16 May 2025
Query JIT (Just-in-Time) Debugger Registered Command.
- Parameters
- Pid Process of ID of debuggee (Required for per-process entry)
- Cmd DBG_C_QueryDebug
- Addr Registration Flags
- DBGQ_JIT_GLOBAL Query registered global debugger
- DBGQ_JIT_PERPROC Query registered per-process debugger
- Buffer A pointer to the buffer where the fully-qualified path name of the JIT debugger is returned.
- Len Size of Buffer in bytes
- Value Error code, if any
- ERROR_INSUFFICIENT_BUFFER Buffer too small
- ERROR_INVALID_FLAG_NUMBER Invalid Registration Flag
- Returns
This command returns the specified query from the operating system of the registered debugger. The buffer will contain NULL if no debugger is registered.
The only DosDebug notifications that are returned by this command are DBG_N_Success and DBG_N_Error.
- Remarks
The DBG_C_QueryDebug command returns the registered JIT debugger from a process or the system (Global). The buffer contains the JIT debugger full path name and any arguments specified to the debugger.