What is the “Break instruction exception” in WinDbg?

风格不统一 提交于 2019-12-02 18:22:34

For future reference, the Your debugger is not using the correct symbols warning is caused because you need to add Windows symbols to the Windbg symbols path. Here is how to do that:

Set Microsoft symbol server path automatically:

0:000> .symfix

Optionally you can specify an additional location where to download symbol from, e.g.:

0:000> .sympath+ c:\myproject

Check current symbol search path:

0:000> .sympath 

You should see something like this:

SRV**http://msdl.microsoft.com/download/symbols

Reload symbols:

0:000> .reload 

Then, you will be able to see information about the current exception using this command:

0:000> !analyze -v

You should see a line similar to the following:

ExceptionCode: c0000005 (Access violation)

Good luck fixing bugs!

The command to use to find the exception that caused the crash dump is .ecxr. The outpt you got from .exr -1 is incorrect as the ExceptionAddress is zero.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!