Also seeing something similar when using
pykd.getCurrentThread()
:0:000> ~
. 0 Id: 580.758 Suspend: 1 Teb: 000007ff`fffde000 Unfrozen
0:000> .load pykd
0:000> !py
Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import pykd
>>> pykd.dbgCommand('r rax=1')
>>> hex(pykd.getCurrentThread())
'0x7fffffde000L'
>>> pykd.dbgCommand('r rax=1')
Traceback (most recent call last):
File "<console>", line 1, in <module>
DbgException: Call IDebugControl::ExecuteWide failed
HRESULT 0x80040205
>>> quit()
0:000> ~
. 0 Id: 580.758 Suspend: 1 Teb: 000007ff`fffde000 Unfrozen
0:000> r rax=1
Last set context:
^ Bad register error in 'r rax=1'