Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. debugging

    Log in to post
    • All categories
    • M

      Unsolved Debugging, step over / step out, intended behaviour
      Tools • qtcreator debug debug debugging qtcreator qtcreator 8.0.2 • • MHuysmans

      2
      0
      Votes
      2
      Posts
      137
      Views

      JonB

      @MHuysmans
      I think it is intended behaviour. But whatever it should have nothing to do with Qt Creator. That is only a front-end to whatever debugger you use. Which you don't say. So go test this behaviour in the debugger, e.g. gdb with step and next commands.

    • R

      Unsolved How to show variables in full binary form during debugging in Qt Creator
      General and Desktop • debugging binary format feature-request • • Ronhald

      10
      0
      Votes
      10
      Posts
      316
      Views

      C

      @Ronhald OK, I've been digging around in this. Unfortunately, the debug helpers seem to focused on providing a more human-friendly depiction of complex structures. For basic integers the displayed data is actually formatted by Qt Creator's C++ code using QString::number(). This suppresses leading zeros.

      It may be possible to customise the Qt Creator source to take into consideration the sizeof(IntType) to generate a string of appropriate length.

    • B

      Unsolved Unable to debug device
      Mobile and Embedded • android debug debugging armv7 • • bludger

      1
      0
      Votes
      1
      Posts
      257
      Views

      No one has replied

    • M

      Solved Handling Database on Multiple Thread
      General and Desktop • qthread sql database c++ multithread debugging • • mvsri

      13
      0
      Votes
      13
      Posts
      1099
      Views

      Kent-Dorfman

      to continue the point @Christian-Ehrlicher mentioned above, blocking serial tasks usually exist on server daemon applications, but not on anything with user interaction or a GUI.

    • W

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

      1
      0
      Votes
      1
      Posts
      152
      Views

      No one has replied

    • W

      Solved CANBus Payload Extraction
      Mobile and Embedded • canbus debugging • • williamsk

      8
      0
      Votes
      8
      Posts
      901
      Views

      aha_1980

      @williamsk

      Ah, cool. So as your problem is solved, please mark this topic as SOLVED too (button Topic Tools).

      Thanks and regards

    • G

      Unsolved Create sequence diagram from debugger
      General and Desktop • debugging uml sequence call stack • • Gustaf D

      5
      0
      Votes
      5
      Posts
      536
      Views

      Chris Kawa

      @Gustaf-D As far as I know there's no such thing for Qt Creator, but if your app can run on Windows you can use Visual Studio to attach a debugger and use the Diagnostic Tools.

      They have function call graphs, CPU and memory profiling, hot path discovery and much much more. You can start/stop data collection on breakpoints like you asked.

    • S

      Unsolved How can I step into Qt's source code when debugging under Mac OS with Qt-creator
      General and Desktop • qt 5.7 mac os 10.14.6 debugging • • shashikumar

      4
      0
      Votes
      4
      Posts
      337
      Views

      sierdzio

      Hm, it should work then, no idea.

    • A

      Deleaker: a plugin for Qt Creator to find leaks (memory, GDI, handles etc.)
      Showcase • memory leak qt creator plugin windows debugging • • Artem.Razin

      4
      7
      Votes
      4
      Posts
      1762
      Views

      A

      @fcarney I can't beleive I missed your question. Comparing with Heob, Deleaker provides more features like taking snapshot at any moment, and comparing them later. Besides heap allocations, Deleaker also tracks COM/ActiveX/GDI/USER32 leaks etc.

    • A

      Unsolved How to debug / backtrace the call stack?
      General and Desktop • segfault debugging embedded linux backtrace debug • • abhisit

      10
      0
      Votes
      10
      Posts
      5687
      Views

      JonB

      @jsulm
      Yep, absolutely, there is much to read/fiddle with, and may not be portable. May or may not work for OP's particular case. Anyway, whether this or your core dump suggestion (OP should look up how his target Linux OS handles core dumps allowed or not), he has a few approaches to consider now....

    • S

      Unsolved no more debugging in qtcreator
      Tools • qtcreator debugging • • skylendar

      5
      0
      Votes
      5
      Posts
      1852
      Views

      aha_1980

      @skylendar

      you shortened the log, so I can't see the GDB version. Please check these.

      Also, GDB must be python enabled, and last the python dumper script must be loaded. Have you checked the directories?

      Regards

    • enjoysmath

      Unsolved QDialog blankly freezes unless I set a breakpoint in the code, break and continue.
      General and Desktop • breakpoint debugging qdialog freeze blank • • enjoysmath

      2
      0
      Votes
      2
      Posts
      491
      Views

      SGaist

      Hi,

      Why are you mixing both like that ?

    • F.Haferkorn

      Unsolved Problem with qtcreator debugger. Cannot see info about 'this' pointer in own code.
      General and Desktop • qtcreator 4.6.2 debugging this not accessible • • F.Haferkorn

      10
      0
      Votes
      10
      Posts
      1134
      Views

      F.Haferkorn

      Thanks @koahnig and @aha_1980.
      I will setup a smaller Project an then do the recommended steps.
      Regards...

    • E

      Solved How to debug "Exception Triggered: The inferior stopped because it triggered an exception"?
      General and Desktop • qt 5.5 exception debugging msvc2017 • • elsa

      4
      0
      Votes
      4
      Posts
      2867
      Views

      E

      @jsulm there was in fact a problem with window3d() that MinGW didnt complain about! Thanks!
      @JonB no I had commented out only up to the second screenshot, so that's why this was the problem.
      And about the second issue, to be honest I adapted the constructor from an older version of the application and it also had &argc. At one point I also noticed it and now I tried out both and both work.

    • A

      Unsolved Qt Creator doesn't set breakpoints properly with GDB
      Tools • bug c++ gdb debugging debug • • Andrew Smith

      3
      0
      Votes
      3
      Posts
      1083
      Views

      A

      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!

    • O

      Solved Debugging has failed
      General and Desktop • debug window debug error debugging debugger engine • • OlegK

      5
      0
      Votes
      5
      Posts
      2162
      Views

      xenovas

      how about changing to MinGW 64 ?

    • N

      Unsolved Debugging stl objects with QtCreator 4.4.1
      Tools • qtcreator 4.4.1 debugging • • nyakacs

      9
      0
      Votes
      9
      Posts
      2870
      Views

      N

      Thanks for this Adam. It seems that disabling Load .gdbinit does the trick. Do you know why this is a problem?

    • C

      Unsolved Windows 7 64-bit configuration to run and debug within Qt 5.5.1
      General and Desktop • compiler cdb debug error debugging 64bit • • configurationinquiry4

      5
      0
      Votes
      5
      Posts
      2567
      Views

      SGaist

      What does you code do ?

    • Asyx

      Unsolved "this" disappears from "locals and expressions" if clicked on during debugging in Qt Creator 4 (Win10 MSVC2015 x64 CDB. Bare C++. No Qt classes used)
      Tools • qtcreator 4 cdb msvc2015 debugging locals • • Asyx

      1
      0
      Votes
      1
      Posts
      583
      Views

      No one has replied