断点:当c ++异常抛出时中断 - 为什么这么慢? [英] Breakpoint: Break when c++ exception is thrown - why so slow?

查看:210
本文介绍了断点:当c ++异常抛出时中断 - 为什么这么慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Qt Creator,Qt 5.3,VC12(VS2013)

Using Qt Creator, Qt 5.3, VC12 (VS2013)

当我在Qt creator中设置一个Break when c ++ exception is throw慢。可能比使用其他断点(如文件名和行号)慢5-10个小时

When I set a "Break when c++ exception is thrown" breakpoint in Qt creator, my application becomes extremely slow. Maybe 5-10 slower than running with other breakpoints such as "File name and line number"

为什么用这种断点调试这么慢?只是好奇..

Why is debugging with this kind of breakpoint so slow? Just curious ..

- 编辑 -

我的系统?

推荐答案

这是Microsoft提供的调试器的一个问题,你已经下载使用Qt Creator。 Qt Creator使用的调试器不是可视工作室调试器,因为后面的IIRC不能轻松地在外部使用。不幸的是,没有什么Qt Creator可以做的改进的东西,我不认为,缺少使用一个不存在的端口,比如说,lldb。

It is a problem with the Microsoft-provided debugger that you have downloaded to use with Qt Creator. The debugger that Qt Creator uses is not the visual studio debugger, since the latter IIRC can't be easily used externally. Unfortunately there's nothing that Qt Creator could do to improve things, I don't think, short of using a non-existent port of, say, lldb.

这篇关于断点:当c ++异常抛出时中断 - 为什么这么慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆