4

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

2 Answers 2

2

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

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.