Reputation: 11915
I am using linux, and I am using QTCreator. For some reason, when I run a program in debug mode, when it faults, I get an assembler dump. There is no stack trace or anything Legibile. I think my debugger used to show me this stuff, but somehow has gotten switched off. What can I do to get it back?
Thanks
Upvotes: 4
Views: 4551
Reputation: 11915
The real problem is that my make and qmake commands were swapped, so the make file was getting built with -O3 instead of -g, even when the program was compiled in debug mode from Qt.
Upvotes: 1
Reputation: 7778
You need to compile it with the debug symbols, make the Debug configuration the active one, recompile and run. Or supply the -ggdb gcc switch yourself
Upvotes: 2