Thread class

Represents a thread in the target process.

class DbgScript::Thread
Thread#engine_id -> Integer

Get the dbgeng local thread id. This is not the Windows thread id.

Thread#thread_id -> Integer

Get the Windows thread id.

Thread#teb -> Integer

Get the address of the TEB.

Thread#current_frame -> StackFrame

Get the current StackFrame.

Thread#get_stack -> array of StackFrame

Get the current call stack.