[SOLVED]Unable to debug my Application
-
Hi,
I unable to make a debug to my application although I already installed all the requirements as shown below.
How can fix this issue?
I always get this error message whenever I run in debug mode:
[code]This does not seem to be a "Debug" build.
Setting breakpoints by file name and line number may fail.Section .debug_info: Not found.
Section .debug_abbrev: Not found.
Section .debug_line: Not found.
Section .debug_str: Not found.
Section .debug_loc: Not found.
Section .debug_range: Not found.
Section .gdb_index: Not found.
Section .note.gnu.build-id: Found.
Section .gnu.hash: Found.
Section .gnu_debuglink: Not found.[/code]!http://i.imgur.com/RFLFikq.jpg(http://i.imgur.com/RFLFikq.jpg)!
EDIT: I'm sure that I'm using debug build.
-
Hi,
Are you using the system Qt ? If you so, some distributions have dbg packages that are separated from dev packages.
Hope it helps
-
[quote author="SGaist" date="1398715444"]Hi,
Are you using the system Qt ? If you so, some distributions have dbg packages that are separated from dev packages.
Hope it helps[/quote]
I'm using Qt with its default options in addition to that I already installed gdb as shown above:
- Qt 5.2.1
- Qt Creator 3.1.0
- Mint 16 x64 Cinnamon
-
-
Hi,
Verify that your "qmake build configuration" is set to debug. You can do that in the projects page -> <your Kit> -> Build -> Build Steps -> qmake
-
[quote author="davschul" date="1398747799"]Hi,
Verify that your "qmake build configuration" is set to debug. You can do that in the projects page -> <your Kit> -> Build -> Build Steps -> qmake
!http://i.imgur.com/uLZvJ6J.png()![/quote]
It's in debug mode.
-
Hi,
I'm running Qt on Kubuntu and I have checked all your settings - it's identical and debugging should work.
Can you debug one of the examples or will you see the same error messages then? -
[quote] Can you debug one of the examples or will you see the same error messages then?[/quote]
Oops; the debugger works find with "Hello World" while it doesn't with my project!
BTW, I've many static libs sub-projects I may set one of these projects to build in release mode only... Do you've any suggestion how can I discover what's wrong in my project?
-
OMG; I fixed this issue.
I added CONFIG += release inside one of the sub-projects...hehehehehehe
Thanks a lot for help.
-
You are welcome!
Happy coding :)