Breakpoint: Break when c++ exception is thrown - why so slow?

感情迁移 提交于 2019-12-19 04:46:22

问题


Using Qt Creator, Qt 5.3, VC12 (VS2013)

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 ..

-- Edit --

As of CR's comment, do I face an abnormality on my system?


回答1:


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.



来源:https://stackoverflow.com/questions/24553842/breakpoint-break-when-c-exception-is-thrown-why-so-slow

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