Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. gdb
    Log in to post

    • UNSOLVED Properly using debugger commands in Creator
      Tools • creator debugging gdb • • WilliamKappler  

      1
      0
      Votes
      1
      Posts
      63
      Views

      No one has replied

    • UNSOLVED Cannot debug with GDB in Qt creator
      General and Desktop • c++ qt creator python gdb gdb error • • Msmh  

      1
      0
      Votes
      1
      Posts
      230
      Views

      No one has replied

    • UNSOLVED GDB Debugger not working
      Mobile and Embedded • debug gdb nvidia jetson t • • Shane00  

      15
      0
      Votes
      15
      Posts
      2565
      Views

      @hwd8868 I had the same problem. Manually adding opencvtypes.py file into /usr/share/qtcreator/debugger/ resolved the problem
    • UNSOLVED Debugger is not working in Qt Creator 3.1.2
      Tools • gdb • • Lingeswararaj  

      2
      0
      Votes
      2
      Posts
      87
      Views

      Hi, Why not use a more recent version of Qt Creator ? Beside that, what compiler are you using ?
    • UNSOLVED Unable to use Data Breakpoints
      Mobile and Embedded • debugger segfault gdb breakpoint • • mtangy  

      1
      0
      Votes
      1
      Posts
      586
      Views

      No one has replied

    • UNSOLVED QtCreator/GDB stall when breakpoint set
      General and Desktop • qtcreator bug gdb • • StringTheory  

      9
      0
      Votes
      9
      Posts
      2256
      Views

      @aha_1980 : I just noticed something else: In the log file, there are lines saying "GDB 71101", presumably because it is using v7.11.1 (?!). But I have installed GDB v8.2 in both usr/bin and usr/local/bin. And I've set those locations in QtCreator's options pages for kits and for debuggers. There should be no way for QtCreator to find an older GDB version. The GDB version in both usr/ folders above is 8.2, confirmed by running via terminal. And I did not find any older stray 7.11.1 versions that QtCreator could be picking up. Another oddity. Is there any other options page where the GDB location needs to be set?
    • UNSOLVED Qt Creator doesn't set breakpoints properly with GDB
      Tools • c++ debug bug debugging gdb • • Andrew Smith  

      3
      0
      Votes
      3
      Posts
      872
      Views

      By build a debug version do you mean adding -DDEBUG -g to CFLAGS in my makefile? Hooray! Adding the -DDEBUG -g flags to my makefile fixed it! Thank you @aha_1980! I googled for this but nothing really came up, thanks!
    • UNSOLVED No debugging information after segfault
      Tools • mingw gdb • • SebastianH  

      10
      0
      Votes
      10
      Posts
      2658
      Views

      I tried to investigate the issue further and figured out the following: it seems to be a problem with gdb and its disassembler when I start gdb in the console, it doesn't show me where the crash occurs, too in the debugger log, I get an error message "Disassembler failed" I tried also on another VM (Win 10, also) and a Win 7 Desktop and it works on the VM, however not on the Desktop and my first VM. I have no clue what the differences between these installations are :-( Is anyone aware of any Windows/Qt/MinGW settings that could make the disassembler fail? Thanks for any ideas, Sebastian
    • UNSOLVED Showing the contents of the d pointers during debugging
      General and Desktop • debugger gdb • • martonmiklos  

      2
      0
      Votes
      2
      Posts
      963
      Views

      Any ideas? The same question had been brought up at the Qt mailing list years ago: http://lists.qt-project.org/pipermail/interest/2015-September/018826.html But the things suggested there did not helped me. Adding an expression for the d pointers did not help either.
    • UNSOLVED Qt Creator fails to map breakpoints (sometimes)
      Tools • gdb qtcreator 4.1 • • kshegunov  

      2
      0
      Votes
      2
      Posts
      1310
      Views

      Apparently related to: https://bugreports.qt.io/browse/QTCREATORBUG-17254
    • UNSOLVED VTHandler in EGLFS breaks GDB Remote Debugging
      Mobile and Embedded • eglfs gdb sigint • • stjosh  

      10
      0
      Votes
      10
      Posts
      3096
      Views

      Hi, I found your topic and i have a problem with a SIGSEGV at the start of qt application when i used gdb. Your patch work with a previous problem i have with breakpoints but no with this one so have you an idea ? I'm using an imx6 platform with EGLFS and when upgrading Qt from 5.3.2 to 5.5.1, I can't start a debug. I try to backtrace in qtcreator but i can't find anything to help. Thanks, Here it's a part of gdb log. >909-exec-run Process AW_APP created; pid = 1370 >library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/opt/fsl-imx-fb/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i1" Library /lib/ld-linux-armhf.so.3 loaded >909^running dNOTE: ENGINE RUN AND INFERIOR RUN OK sRunning. dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master] dINFERIOR STARTED sDémarrage de l'application >*running,thread-id="all" dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk. >~"\nProgram received signal " >~"SIGSEGV, Segmentation fault.\n" >~"0x4dca9e24 in ?? ()\n" >*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x4dca9e24",func="??",args=[]},thread-id="1",stopped-threads="all",core="0" dNOTE: INFERIOR SPONTANEOUS STOP sStopped. > 914bt full >&"bt full\n" >~"#-1 0x4dca9e24 in ?? ()\n" >~"No symbol table info available.\n" >&"warning: Unable to restore previously selected frame.\n" Unable to restore previously selected frame. >914^done
    • UNSOLVED The selected build of GDB does not support Python scripting.
      General and Desktop • error gdb debug error building error gdb error • • Enrico Marconi  

      3
      0
      Votes
      3
      Posts
      1446
      Views

      Thanks for your advise. I'll try it.
    • SOLVED Debugging Qt Sources for Android
      Tools • android debug gdb qt sources • • AllanE  

      1
      0
      Votes
      1
      Posts
      630
      Views

      No one has replied

    • Qt5 android debugging windows
      Installation and Deployment • android gdb ndk • • Kartsaaja  

      2
      0
      Votes
      2
      Posts
      1056
      Views

      me too facing same problem. is there any solutions.
    • Debugging starts, failed, finished
      General and Desktop • python gdb • • Ratzz  

      1
      0
      Votes
      1
      Posts
      1511
      Views

      No one has replied

    • [SOLVED] The selected build of GDB does not support Python scripting. It cannot be used in Qt Creator.
      General and Desktop • python ubuntu debugger gdb • • Ratzz  

      5
      0
      Votes
      5
      Posts
      11070
      Views

      @kuzulis I downloaded the versions of gdb and python as mentioned in the script you mentioned . now my project is working fine. I used this link to install gdb .
    • Debugging nested lists
      General and Desktop • debugging gdb qt creator 3.4 • • Alex Court  

      1
      0
      Votes
      1
      Posts
      703
      Views

      No one has replied

    • How to automatically add breakpoints to all methods in a cpp file or whole project?
      General and Desktop • qtcreator qt creator desktop debug debugging documentation gdb break point • • Tusharh  

      2
      0
      Votes
      2
      Posts
      1049
      Views

      @Tusharh Hi and welcome to devnet A featrure as you request may be latest with larger projects too much for the debugger to handle. The closest to get such a behaviour is to use F11 and Shift+F11. F11 will enter every possible method and Shift+F11 will help you to run the remainder of the method. IMO sufficient enough to get a really detailed anaylsis of source code.
    • Debugging external application & showing C++ code, not assembly
      Tools • qt creator debug debugging gdb gcc gdbengine • • Geremia  

      2
      0
      Votes
      2
      Posts
      2720
      Views

      It was because I was in instruction-wise operation mode. Unchecking Debug → Operate By Instruction solved my problem.
    • Remote Debugging
      Mobile and Embedded • qstring gdb remote debuggin not accessible • • emmeacca  

      1
      0
      Votes
      1
      Posts
      601
      Views

      No one has replied

    • qt creator not responding to breakpoints, gdb now working[SOLVED]
      General and Desktop • gdb • • anoop  

      3
      0
      Votes
      3
      Posts
      1752
      Views

      thanks dude, it run succefully :D