Breakpoint: Break when c++ exception is thrown - w

2019-02-15 12:18发布

问题:

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.