Navigation

    Qt Forum

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

    • UNSOLVED Qt Creator will not break in one class
      Tools • qtcreator debug debugger • • Dariusz  

      5
      1
      Votes
      5
      Posts
      166
      Views

      I may have found the key condition for this: inconsistent capitalization between the file on disk and the entry in your project file. My project is all CMake, and CMakeLists.txt specified a capital letter in the parent directory of the source file; but it was in lower case on disk. Bug report here: https://bugreports.qt.io/browse/QTCREATORBUG-27123 Related: https://bugreports.qt.io/browse/QTCREATORBUG-18007
    • UNSOLVED Easily Restart When Debugging External Executable
      General and Desktop • linux debugger external applic • • RyanEdward  

      2
      0
      Votes
      2
      Posts
      142
      Views

      @RyanEdward Although not a native QTCreator solution, I use: C gist to simulate key presses on linux. Mapping this binary to a keyboard shortcut on your native desktop environment can hack your way to a solution.
    • UNSOLVED Problem about setting cuda-gdb 8.3.1 to QT
      General and Desktop • linux debugger cuda ubuntu 20.04 • • YZ15  

      1
      0
      Votes
      1
      Posts
      187
      Views

      No one has replied

    • SOLVED Could not connect to QML Debugger with kit Desktop Qt 5.14 MingW 64
      General and Desktop • debugger mingw 64 bit qml debugger • • RSAM  

      3
      0
      Votes
      3
      Posts
      553
      Views

      For those experiencing the same problem as myself, check your path for perivous GNU mingw installation. I personally am a GNU user, so i have 64-bit mingw installed on my desktop, that's causes a confliction with the one come with QT creator installation.
    • SOLVED QtCreator, Debugger does not attached to the application
      Tools • qtcreator msvc2015 debugger • • J.Hilk  

      7
      0
      Votes
      7
      Posts
      1149
      Views

      @SGaist Indeed he is    but if you feed him bugs after midnight then he goes like but then you find the actual reason    for all your problems and then you feel like :)
    • UNSOLVED return value not shown by Qt Creator debugger
      Tools • debugger creator 4 return value • • dave2  

      9
      0
      Votes
      9
      Posts
      1664
      Views

      @dave2 for completeness sake, I tested it with MacOS & Clang + LLDB, doesn't work at all there as well
    • UNSOLVED Unable to use Data Breakpoints
      Mobile and Embedded • debugger segfault gdb breakpoint • • mtangy  

      1
      0
      Votes
      1
      Posts
      636
      Views

      No one has replied

    • UNSOLVED Qt creator, issue after update to 4.8
      General and Desktop • debugger linking proble creator 4.8 • • emazed  

      3
      0
      Votes
      3
      Posts
      366
      Views

      This could be temporary issue. Change the configuration from debug to release. Qt Creator will try to reconfigure your project again. Now change back to debug. It will reconfigure again.
    • UNSOLVED Slow Debugger
      General and Desktop • debugger mingw32 • • nekkceb  

      10
      0
      Votes
      10
      Posts
      2006
      Views

      @jsulm It seems to be fixed, but I am not sure what did it. I performed a complete sweep for viruses an malware, nothing major found. Then switched to Win10 (I go back and forth between win8 and win10), and for a while my app would not even start, with a error 0xc0000139. Did a search for that error on the web, not much help. Used depends.exe to see what DLLs were getting loaded, but found out that is a dead project, not applicable to win10. Updated a third party app I link into. Then win10 decided to do an update, which fixed the 0xc0000139 error. I cleaned up some logging events, and that improved the slow startup issue, but I cant believe that was the entire fix. Given I did so much in no certain order, in the end I cant identify what did the trick!
    • SOLVED Enabling QML debugging with Pyside2 5.11.2
      Language Bindings • qtcreator pyside2 debugger qml profiler python2 • • Rguessford  

      4
      0
      Votes
      4
      Posts
      1949
      Views

      @Rguessford I would also be interested to get the Qt Creator Debug button to work for both, Python and QML debugging, at the same time. Even with QQmlDebuggingEnabler instantiated. I think, I'm stuck at the same as @Jeff-B-0
    • UNSOLVED Problems with Local & Expressions
      Tools • debugger • • OlivierDuguay  

      3
      0
      Votes
      3
      Posts
      612
      Views

      It does it inside some functions for the this but in any function for the value of a QSharedPointer. So I guess the problem with this isn't really a problem, but for the QSharedPointer, it wasn't like this before... I've always been able to open it and see the pointer (or NULL if it is not instanciated)
    • UNSOLVED Debugger doesn't hit breakpoints
      Tools • creator debugger • • Daniele_B  

      9
      0
      Votes
      9
      Posts
      5113
      Views

      gcc: gcc version 6.4.0 20170820 (Debian 6.4.0-4) gdb: GNU gdb 7.11.1 Program code: #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; }
    • UNSOLVED Qt DoubleSpin Box value changed slot has called twice
      General and Desktop • c++ qt creator qt 5.5 slots debugger • • Sowmiya R  

      22
      0
      Votes
      22
      Posts
      8510
      Views

      @Wael11 For anyone reading this: This is known behaviour, which I stumbled across a long time ago and it was infuriating. With a QSpinbox Qt Internal code uses a timer on clicks/presses. If you step through in debugger you exceed the timeout and get bad/double behaviour. Simplest: change all connect() to QSpinbox click/key to pass Qt::QueuedConnection as last parameter for connection type, not default Qt::DirectConnection. Now you can use debugger breakpoints and all will be well. I wrote a method to connect all my spinboxes like this.
    • UNSOLVED Showing the contents of the d pointers during debugging
      General and Desktop • debugger gdb • • martonmiklos  

      2
      0
      Votes
      2
      Posts
      998
      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 Trouble with QOpenGLDebugLogger
      General and Desktop • qml opengl debugger • • Kruste  

      1
      2
      Votes
      1
      Posts
      651
      Views

      No one has replied

    • UNSOLVED python error with debugger -yet again
      Installation and Deployment • python error mingw debugger • • Technologist  

      2
      0
      Votes
      2
      Posts
      752
      Views

      @Technologist Which python and mingw version do you use?
    • SOLVED Can not see values of locals in QtCreator debug mode
      General and Desktop • c++ qtcreator debugger locals • • surajeet  

      3
      1
      Votes
      3
      Posts
      3412
      Views

      @mrjj , Thanks bud. It worked. You have just made my life easier.
    • UNSOLVED Is it possible to debug QScriptEngine in non-GUI thread?
      General and Desktop • javascript debug debugger qtscript debugger engine • • flashmozzg  

      1
      0
      Votes
      1
      Posts
      711
      Views

      No one has replied

    • UNSOLVED [Solved] "No engine" debugger missing
      General and Desktop • debugger no engine • • Smileede  

      5
      0
      Votes
      5
      Posts
      2291
      Views

      Worked! Thank you very much!
    • UNSOLVED Android Debuggers
      Tools • android debugger • • Mathan M  

      1
      0
      Votes
      1
      Posts
      414
      Views

      No one has replied

    • UNSOLVED Sigill when debugging application with
      General and Desktop • debugger qssl qsslconfigurati sigill • • Mark81  

      2
      0
      Votes
      2
      Posts
      981
      Views

      @Mark81 said: SIGILL That is an illegal instruction signal, which is pretty rare. Basically means the memory your program's residing in got corrupted somehow. So there's something very wrong. Check any callbacks, overwriting by mistake virtual tables and the such.
    • UNSOLVED Qt+QML program hangs at debug breakpoints in QtCreator
      General and Desktop • debugger • • amphi  

      1
      0
      Votes
      1
      Posts
      700
      Views

      No one has replied

    • UNSOLVED Debugger not working on Mac OS X 10.11.3
      General and Desktop • debugger mac os x • • tobias.v  

      2
      0
      Votes
      2
      Posts
      1006
      Views

      Switch of "Run in Terminal" in your project's Run settings, and check whether this makes a difference.
    • Debugger never hits breakpoints - qml
      General and Desktop • qml debugger qmldebugger • • Anas A. Ismail  

      2
      0
      Votes
      2
      Posts
      1053
      Views

      Did you activate qml debug checkbox in your project settings (runtime tab of your kit settings)?
    • UNSOLVED Getting a backtrace out of an event handler
      General and Desktop • debugging debugger exception • • tinloaf  

      1
      0
      Votes
      1
      Posts
      638
      Views

      No one has replied

    • Qt Creator not stopping at breakpoints
      Tools • debugger breakpoint • • kitfox  

      4
      0
      Votes
      4
      Posts
      1499
      Views

      Then, double check to ensure you did also install the debugger. It's not part of the Visual Studio installation. [edit: added missing part]
    • [SOLVED] Setting up Visual Studio compiler with qt
      General and Desktop • visual studio debug debugger compile compiler visual c++ • • danieldil  

      4
      0
      Votes
      4
      Posts
      4552
      Views

      @TheBadger Thank you that was the right link.
    • Remote debugging MSVC
      General and Desktop • debugger • • Andy314  

      4
      0
      Votes
      4
      Posts
      1631
      Views

      I'm not sure which cache folder are you talking about. Anyway, you should use the one that was in the same folder as your exe.
    • Qt creator nie widzi debuggera
      Polish • windows 10 debug creator debugger sdk pomocy • • Gronekmaster  

      3
      0
      Votes
      3
      Posts
      1863
      Views

      Qt i debugger to 2 różne rzeczy. Nie zaśmiecaj PATH. Dodawanie tam Qt nic nie da a może sporo popsuć. Którego IDE używasz - Qt Creator czy Visual Studio? Jesli Qt Creator to który kompilator - MinGW czy kompilator z Visual Studio? Jeśli MinGW to gdb (debugger) powinien być zainstalowany razem z nim i ustawiony automatycznie. Żeby zainstalowac debugger dla VS trzeba zaznaczyc opcję "Debugging tools for Windows" instalując Windows SDK. Napisałeś że zainstalowałeś całe, ale upewnij się - sprawdź, czy w ścieżce <ścieżka do Windows SDK>/Debuggers/x64/ jest plik cdb.exe (plik debuggera). Jesli nie to pewnie ominąłeś ten checkbox w instalatorze. Sprawdź, czy Qt Creator widzi debugger - Tools -> Options -> Build & Run -> Debuggers: powinieneś tam widzieć coś w rodzaju "Auto-detected CDB at ...". Sprawdź, czy twój kit ma ustawiony debugger (pewnie nie jesli doinstalowałeś go potem. Wejdź do Tools -> options -> Build & Run -> Kits, zaznac swój kit i zobacz czy ma usatwiony debugger. Jesli nie to wybierz CDB z listy.
    • [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
      11560
      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 .
    • Qt Debugger for Android ignores breakpoints
      Mobile and Embedded • android qt creator mobile debugger 5.5 breakpoint • • jimbo202  

      5
      0
      Votes
      5
      Posts
      2748
      Views

      added them in rebult and ran qmake, then attempted it again. Breakpoints are still being ignored.
    • Error accessing GStreamer Library - Program excited with code 0xc0000135 when Debugging
      General and Desktop • gstreamer debugger libraries external • • dionis.  

      3
      0
      Votes
      3
      Posts
      2290
      Views

      Hi, You are probably missing the path to your GStreamer dlls in your PATH (the one in Qt Creator not for your system) You can modify it in the Run part of the Projects Panel
    • Debugging an application on Vm Ware with CDB in QtCreator
      Tools • debugger cdb • • CheeseBurger  

      3
      0
      Votes
      3
      Posts
      1814
      Views

      Thanks for the reply. I have read the link about the pipe and tried a couple of other things (they didnt' work anyway ) First, i renamed the external pipe in VmWare settings to : superpipe22. I made sure, that the pipe is connected to vmware. Also the name of the computer in VmWare operating system (windows 8) is : SUPERPC Then i changed the server creation first like this: ** cdb -server npipe:pipe=\S UPERPC\pipe\superpipe22 C:\tests\clean_deploy\clean_deploy\myapp.exe** and tried to connect with npipe:server=SUPERPC,pipe=\SUPERPC\pipe\superpipe22 npipe:pipe=\SUPERPC\pipe\superpipe22 npipe:server=SUPERPC,pipe=superpipe22 npipe:server=SUPERPC,pipe=superpipe22 Then i went to cdb folder, manually ran it and tried: 1 cdb -QR \\SUPERPC Servers on \\SUPERPC: Unable to query \\SUPERPC 2 cdb -QR \\SUPERPC\pipe\superpipe22 Servers on \\SUPERPC\pipe\superpipe22: Unable to query \\SUPERPC\pipe\superpipe22 3 cdb -QR \\.\pipe\superpipe22 Servers on \\.\pipe\superpipe22: Unable to query \\.\pipe\superpipe22 So cdb cannot access the VmWare even trough the pipe. I think the problem is that VmWare is not reachable under the name SUPERPC. I know its not the topic of this forum, but can you suggest any tips, on how i can access my VmWare OS by the servername? My VmWare is not using bridged connection it has its own network with its own modem etc. (That's why i'm testing my application there).
    • [QT 5.5 Opensource] ~ What debugger is best for me?
      General and Desktop • debugger compiler vs 2013 opensource cdb windows sdk • • Zehryo  

      8
      0
      Votes
      8
      Posts
      3446
      Views

      Well, if you've been using it already for so long and you didn't find it frustrating then it's okay, my comment was only for newbies (and you're no longer in that category after months of using it)