```
from pykd import *
class debugHandler(eventHandler):
def __init__(self):
eventHandler.__init__(self)
def onDebugOutput(self, str):
print str
loadDump(r"user_mode_dump.dmp")
#loadExt(r"C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext\MSEC.dll")
loadExt(r"C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext\ext.dll")
dh = debugHandler()
dbgCommand("!analyze -v", False)
```
It work's fine without MSEC.dll extension. If there is the MSEC loaded extension - output is corrupted.
Unhandled ACCESS VIOLATION corrupts output callbacks.
MSEC.dll can be get here:
https://msecdbg.codeplex.com/
from pykd import *
class debugHandler(eventHandler):
def __init__(self):
eventHandler.__init__(self)
def onDebugOutput(self, str):
print str
loadDump(r"user_mode_dump.dmp")
#loadExt(r"C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext\MSEC.dll")
loadExt(r"C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext\ext.dll")
dh = debugHandler()
dbgCommand("!analyze -v", False)
```
It work's fine without MSEC.dll extension. If there is the MSEC loaded extension - output is corrupted.
Unhandled ACCESS VIOLATION corrupts output callbacks.
MSEC.dll can be get here:
https://msecdbg.codeplex.com/