Jump to content

DBG C Freeze: Difference between revisions

From EDM2
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..."
 
Ak120 (talk | contribs)
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.


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.


;Returns
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.


The desired threads are prevented from executing user code on a DBG_C_Go or DBG_C_SStep command.  
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.


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.  
If the Tid is specified as zero, it will be set to the thread ID of the debuggee thread most recently scheduled to execute.


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.
[[Category:Debug Command]]
 
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:DBG_C]]
{{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.