Search code examples
windbgpykd

Unexpected error with mona.py on x64


My operating system is Windows 10. I configured Mona with WinDbg according to the documentation on the website.

I can use Mona with WinDbg x86. But in WinDbg x64 it says:

0:000> .load pykd.pyd
0:000> !py mona
unexpected error

Could anyone please tell me how to solve it?


Solution

  • Do you have a 2.7.11 python? It has the known bug: python can not be initialized in embedded mode on the Windows ( x86 and x64 both ). See http://www.hexblog.com/?p=949.

    I recommend you use 2.7.10.

    And I don't recommend you use mona.py in x64 windbg, it can not work properly nor with x64 application nor with wow64 application.