DBG C Freeze: Difference between revisions
Appearance
Created page with "Debug Command 11 - Freeze Thread Command ;Parameters *Pid= Process ID of debuggee *Tid= Thread ID of thread to freeze *Cmd= DBG_C_Freeze If Tid is zero, all debuggee th..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Debug Command 11 - Freeze Thread Command | Debug Command 11 - Freeze Thread Command | ||
;Parameters | ;Parameters | ||
*Pid= Process ID of debuggee | *Pid= Process ID of debuggee | ||
*Tid= Thread ID of thread to freeze | *Tid= Thread ID of thread to freeze | ||
*Cmd= DBG_C_Freeze | *Cmd= DBG_C_Freeze | ||
If Tid is zero, all debuggee threads will be frozen. | |||
;Returns | |||
The desired threads are prevented from executing user code on a [[DBG_C_Go]] or [[DBG_C_SStep]] command. | |||
By using the DBG_C_Freeze and [[DBG_C_Resume]] commands, a given set of threads can be executed at once, while keeping the other threads suspended. | |||
No error is returned if the thread was previously frozen; it just remains frozen. DBG_C_Freeze and DBG_C_Resume commands cannot be nested. | |||
If the Tid is specified as zero, it will be set to the thread ID of the debuggee thread most recently scheduled to execute. | |||
[[Category:Debug Command]] | |||
[[Category: | |||
{{DISPLAYTITLE:DBG_C_Freeze}} | {{DISPLAYTITLE:DBG_C_Freeze}} |
Latest revision as of 12:59, 10 March 2020
Debug Command 11 - Freeze Thread Command
- Parameters
- Pid= Process ID of debuggee
- Tid= Thread ID of thread to freeze
- Cmd= DBG_C_Freeze
If Tid is zero, all debuggee threads will be frozen.
- Returns
The desired threads are prevented from executing user code on a DBG_C_Go or DBG_C_SStep command.
By using the DBG_C_Freeze and DBG_C_Resume commands, a given set of threads can be executed at once, while keeping the other threads suspended.
No error is returned if the thread was previously frozen; it just remains frozen. DBG_C_Freeze and DBG_C_Resume commands cannot be nested.
If the Tid is specified as zero, it will be set to the thread ID of the debuggee thread most recently scheduled to execute.