Qt Access violation - code c0000005 debug write access violation

在使用Qt Creator和VS2005进行调试时遇到'Access violation - code c0000005'的问题。通过在Qt Creator的CDB额外参数中添加'-x'选项,可以忽略首次机会异常,从而解决此问题。在VS2005中同样看到'first chance exception',但添加-x选项后问题得到解决。建议Qt Creator能明确报告首次机会异常,以帮助更快定位问题。
摘要由CSDN通过智能技术生成
When trying to debug my Qt application, the app throw a exception as "
Exception at 0x77da2073, code: 0xc0000005: write access violation at: 0x1, flags=0x0"

I am using Qt creator and vs2005 compiler and debugger.

I load the project on vs2005 and run debugger. There is no exception. But I found "first chance exception

write access violation at: 0x1, flags=0x0"in the vs2005 output windows.

 

So I guess whether the exception is the same as with vs2005. And it could be disable with CDB.exe options。

 

Sure, go to Qt creator->options->debugger->CDB

add -x for CDB additional arguments.

 

Ignore the first chance exception.

 

 

I add this into Qt JIRA

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值