Environment:
```
0:000> dv /v Code
@ebx Code = 0x271d
```
```
>>> int( stack[0xb].getParam("Code") )
Traceback (most recent call last):
File "<console>", line 1, in <module>
DbgException: Call IDebugRegisters2::GetIndexByNameWide failed
HRESULT 0x80004002
```
Debugging:
```
0:001> k4
# Child-SP RetAddr Call Site
00 00000000`020ca5f0 000007fe`e116ffcb pykd!kdlib::getRegsiterIndex+0xa1 [~\kdlibcpp\source\win\dbgeng.cpp @ 1575]
01 00000000`020ca6b0 000007fe`e1178c72 pykd!kdlib::RegisterAccessor::getValue<unsigned long>+0x5b [~\kdlibcpp\source\dataaccessorimpl.h @ 1156]
02 00000000`020ca790 000007fe`e1082d8f pykd!kdlib::RegisterAccessor::readDWord+0x32 [~\kdlibcpp\source\dataaccessorimpl.h @ 994]
03 00000000`020ca7c0 000007fe`e0ea5477 pykd!kdlib::TypedVarBase::getValue+0x6cf [~\kdlibcpp\source\typedvar.cpp @ 500]
0:001> dv name
name = 0x00000000`0c893118 "EBX"
0:001> dv hres
hres = 0x80004002
```
Comments: ** Comment from web user: EreTIk **
```
0:000> dv /v Code
@ebx Code = 0x271d
```
```
>>> int( stack[0xb].getParam("Code") )
Traceback (most recent call last):
File "<console>", line 1, in <module>
DbgException: Call IDebugRegisters2::GetIndexByNameWide failed
HRESULT 0x80004002
```
Debugging:
```
0:001> k4
# Child-SP RetAddr Call Site
00 00000000`020ca5f0 000007fe`e116ffcb pykd!kdlib::getRegsiterIndex+0xa1 [~\kdlibcpp\source\win\dbgeng.cpp @ 1575]
01 00000000`020ca6b0 000007fe`e1178c72 pykd!kdlib::RegisterAccessor::getValue<unsigned long>+0x5b [~\kdlibcpp\source\dataaccessorimpl.h @ 1156]
02 00000000`020ca790 000007fe`e1082d8f pykd!kdlib::RegisterAccessor::readDWord+0x32 [~\kdlibcpp\source\dataaccessorimpl.h @ 994]
03 00000000`020ca7c0 000007fe`e0ea5477 pykd!kdlib::TypedVarBase::getValue+0x6cf [~\kdlibcpp\source\typedvar.cpp @ 500]
0:001> dv name
name = 0x00000000`0c893118 "EBX"
0:001> dv hres
hres = 0x80004002
```
Comments: ** Comment from web user: EreTIk **
> Надо все тесты прогнать с новым dbgeng. Я в последних сборках kdlibcpp добавил папку bin с dll ами для тестов, там сейчас 9600. Можно туда скопировать новые версии и прогнать тесты с ними.
Файл crttest.h отсутствует в репозитории :(