且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何调试来自本机代码的 AccessViolationException

更新时间:2023-12-03 15:25:16

Project + Properties,Debug 选项卡,勾选Enable unmanaged code debugging".这仍然不会让它变得容易,但至少你可以在它爆炸时查看非托管堆栈帧.确保您有 Qt 代码的 .pdb 文件.

Project + Properties, Debug tab, tick "Enable unmanaged code debugging". This still won't make it easy, but at least you can look at the unmanaged stack frames when it bombs. Make sure you've got the .pdb files for the Qt code.