Search notes:

dx

dx displays a C++ expression using the NatVis extension model.

Variables

0:000> dx @$seven = 7
@$seven = 7      : 7

0:000> dx @$six = 6
@$six = 6        : 6

0:000> dx @$result =  @$seven * @$six
@$result =  @$seven * @$six : 42

0:000> dx @$result
@$result         : 42

Print debugger namespace

0:003> dx Debugger
Debugger
    Sessions
    Settings
    State
    Utility

0:003> dx Debugger.Sessions
Debugger.Sessions
    [0x0]            : Live user mode: <Local>

0:003> dx Debugger.Sessions[0]
Debugger.Sessions[0] : Live user mode: <Local>
    Processes
    Id               : 0
    Devices
    Attributes

0:003> dx Debugger.Sessions[0].Processes
Debugger.Sessions[0].Processes
    [0x35a0]         : notepad.exe

0:003> dx Debugger.Sessions[0].Processes[0x35a0].Threads
Debugger.Sessions[0].Processes[0x35a0].Threads
    [0x3728]         : notepad!wWinMainCRTStartup (00007ff7`46043db0)
    [0x2efc]         : ntdll!TppWorkerThread (00007ff9`98ca2250)
    [0x24d0]         : ntdll!TppWorkerThread (00007ff9`98ca2250)
    [0x36a0]         : ntdll!TppWorkerThread (00007ff9`98ca2250)
    [0x6d8]          : ntdll!TppWorkerThread (00007ff9`98ca2250)
    [0x448]          : combase!CRpcThreadCache::RpcWorkerThreadEntry (00007ff9`988fa360)
    [0x2b50]         : ntdll!TppWorkerThread (00007ff9`98ca2250)
    [0x1044]         : ntdll!DbgUiRemoteBreakin (00007ff9`98d5c900)

0:003> dx Debugger.State.Scripts
Debugger.State.Scripts
    hello-world

Misc

dx @$curthread
dx @$teb
…

See also

A particular use for the dx command is to examine the host object.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759406206, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/development/Debugging/tools/commands/d/x/index(95): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78