Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging without Disassembler
Forum Update on Monday, May 27th 2025

Debugging without Disassembler

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 5.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hanashi
    wrote on 6 Aug 2014, 06:25 last edited by
    #1

    Hi,

    I'm using Qt Creator 3.1.2 and Qt 5.3.1 with MinGW on Windows. If I would debugging my source code the debugger switch to a disassembler view, but I would debug without the disassembler view. How can i dissable this view?

    kind regards
    Hanashi

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 6 Aug 2014, 06:31 last edited by
      #2

      In the bottom-left panel of the debugging view, there is a list of all the files that your application is getting through. Browse there to the first file that you recognize, and double click it. Qt Creator will show you the file. It shows the disassembler when no source file can be found.

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hanashi
        wrote on 6 Aug 2014, 06:33 last edited by
        #3

        Hi thanks for answer, I have fixed the problem with adding this lines to .pro-file:
        @CONFIG += debug
        QMAKE_LFLAGS += -g@

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 6 Aug 2014, 06:47 last edited by
          #4

          Oh, so you were compiling in release mode? You can simply switch to Debug mode in Qt Creator, rebuild your program, and then those flags will be added automatically for you.

          (Z(:^

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 6 Aug 2014, 08:55 last edited by
            #5

            [quote author="whhenyuan" date="1407314892"]try (censored) [/quote]

            Watch out, mate. Your link was totally unrealated.

            (Z(:^

            1 Reply Last reply
            0
            • R Offline
              R Offline
              robopoulos
              wrote on 8 Aug 2014, 13:22 last edited by
              #6

              It probably helps if you uncheck options to break debugging on Thread creation and Thread exit if you have these options checked for the Debugger. These options will certainly pop the disassembler view up when you start debugging even if you haven't set any Breakpoints in your code. You find these options in menu Tools/Debugger/CDB. If you want to break on C++ exceptions leave that option checked, otherwise uncheck that too.

              1 Reply Last reply
              0

              1/6

              6 Aug 2014, 06:25

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved