Debugger Step Out crashes the program
-
I am using Qt Creator ver 6.0.1, but Qt 5.15.8 with MinGW81_64 (problem also occurs with MinGW81_32). When I am debugging my program and step into a fiunction, the step out button crashes the program! Very frustrating, makes life more complicated. This started recently, I have generally had good luck using the debugger. I am sure the debugger listed in the kit is correct, MinGW8.1.0 64
-
@nekkceb said in Debugger Step Out crashes the program:
the step out button crashes the program
What exactly crashes:
- Your app
- Debugger
- QtCreator
?
-
@jsulm Also, I am working on several applications, this happens on all of them, I dont think it is my application itself, but I guess I cant be absolutely sure of that. This behavior started somewhat recently (within last year), just getting around to reporting it now. I cant tell you which version of Qt it started with.
-
Hello
What about this behaviour?I have similar problem few times ago when mixing C and C++ file.
I create a report here: https://bugreports.qt.io/browse/QTCREATORBUG-26993
with a minimal program to reproduce itNow, It look same as you, I have it on many more project, when performing a "step out", debug session is aborted, not necessarily on the junction between C and C++ code...
Florent
-
@florent_lightingsoft said in Debugger Step Out crashes the program:
I have similar problem few times ago when mixing C and C++ file.
I create a report here: https://bugreports.qt.io/browse/QTCREATORBUG-26993
with a minimal program to reproduce itAs mentioned in the bug above, MinGW 8.1.0 with GDB 8.1 has a bug and crashes.
The bug doesn't reproduce with MinGW 11.2.0 package and GDB 11.2.0.GDB crashes are best reported at https://www.sourceware.org/gdb/bugs/, but I'm not sure if MinGW is a supported platform.