Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Stripping debug symbols from a debug binary

$
0
0
Problem statement: When I encounter a crash in application and get a core file, I should be able to do a back trace and find detailed information. Possible solution: I can use a debug version of the binary (using the debug keyword in the .pro file). The downside is, I cannot use debug binary for customer releases. I know that in gcc/Makefile I can compile my code with -g option and then strip the debug symbols (after stripping debug symbols, the binary is equivalent to a release version). Store the stripped debug symbols. Then if I encounter crash, using gdb I can supply the stored debug symbols to the release binary and can get detailed stack trace. More information can be found in the below links Your text to link here… [stackoverflow.com] and Your text to link here… [marcioandreyoliveira.blogspot.ae] Question: Using Qt and QMake how can I achieve the same thing? Basically if I get a crash on release version, how can I get detailed back trace? What are the possible approaches? Thanks, -Sandeep

Viewing all articles
Browse latest Browse all 13965

Trending Articles