Jump to content

DBG_C_Freeze

From EDM2
Revision as of 22:41, 4 March 2020 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.