Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Commented Issue: dbgCommand: BaseException: IDebugControl::ExecuteWide failed [13686]

$
0
0
I have proposed a PyKd script on Stack Overflow (http://stackoverflow.com/a/32060333/480982), but when I run it, it results in an exception in the 12th call to dbgCommand:

```
from pykd import *

str = dbgCommand("sx")
lines = str.split("\n")
for line in lines:
if ("-" in line) and not("Command:" in line):
code = line.split("-")[0].strip()
print code
command = "sxe -c \"bla-bla-bla\" -c2 \"ku-ku-ku\" " + code
print command
dbgCommand(command)
```

PyKd 0.2.0.29 with Python 2.7, x64, also happens in 0.2.0.27. Error message is
```

Traceback (most recent call last):

File "e:\debug\scripts\sxe.py", line 11, in <module>
dbgCommand(command)

BaseException: IDebugControl::ExecuteWide failed
```

Also happens in 0.3.0.25 but the error message is different:

```
Traceback (most recent call last):

File "e:\debug\scripts\sxe.py", line 11, in <module>
dbgCommand(command)

DbgException: Call IDebugControl::Execute failed
HRESULT 0x80040205
```
Comments: ** Comment from web user: strangedev **

When reducing this further, I found out that the following single command is sufficient to reproduce the issue:

```
(InteractiveConsole)
>>> dbgCommand("sxe av")
Traceback (most recent call last):
File "<console>", line 1, in <module>
DbgException: Call IDebugControl::Execute failed
HRESULT 0x80040205
```


Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>