Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.1.0
-
None
-
Windows 8.1 Pro 64bit
[Qt Creator 4.1.0|http://download.qt.io/official_releases/qtcreator/4.1/4.1.0/qt-creator-opensource-windows-x86-4.1.0.exe]
Qt 5.7.0 with MinGW 5.3.0 and gdb 7.10.1 ( installed by Qt Maintenance Tool )
-
c938b8d4dbc069f54002e66deea0e0501b6d98d
Description
Since Qt Creator 4.1.0, cannot stop when abort() is called.
Qt Creator 4.0.3 works as expected.
Steps to Reproduce
- Kit with gdb.
- Select Tools > Options > Debugger > GDB Extended and enable Stop when abort() is called check box.
- To raise uncaught exception like below.
- Then, does not stop at throw line.
main.cpp
int main() { throw 1; return 0; }
Appendix
It is repaired by the following patch.
but I don't know reasonable.
diff --git a/share/qtcreator/debugger/gdbbridge.py b/share/qtcreator/debugger/gdbbridge.py
index f7f3280..8b0c063 100644
--- a/share/qtcreator/debugger/gdbbridge.py
+++ b/share/qtcreator/debugger/gdbbridge.py
@@ -259,6 +259,8 @@ class Dumper(DumperBase):
self.qtNamespaceToReport = None
self.interpreterBreakpointResolvers = []
+ self.currentQtNamespaceGuess = None
+
def prepare(self, args):
self.output = []
self.currentIName = ""