!tls

The !tls extension displays a thread local storage (TLS) slot.

!tls Slot [TEB]

Parameters

Slot
Specifies the TLS slot. This can be any value between 0 and 1088 (decimal). If Slot is -1, all slots are displayed.

TEB
Specifies the thread environment block (TEB). If this is 0 or omitted, the current thread is used.

DLL

Windows 2000

Unavailable

Windows XP and later

Exts.dll

Remarks

Here is an example:

0:000> !tls -1
TLS slots on thread: c08.f54
0x0000 : 00000000
0x0001 : 003967b8
0:000> !tls 0
c08.f54: 00000000