Debug problem



  • Hi everybody

    When i want to debug my project i have these warnings. I'm using 5.4 Qt version.

    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.

    Could someone helps me?
    Many thanks

    Alberto



  • Hi, You do have "Debug" build type set right? If you look in the lower left corner of Qt Creator it should have a computer icon and say "Debug".

    I'd then look at the "Projects" tab (on the left) then make sure you select "Build". There should be a dropdown for Debug and further down if you look at the build steps you should see "Config+=debug" on the qmake command line.



  • Hi, thank you so much for your quickly answer. I've checked all that you said me and i have all fine. I can debug but when the debug starts a little screen show me this "errors". I don't know if it is a problem.
    Many thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.