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. How to use Debugger in qt creator ??
Forum Updated to NodeBB v4.3 + New Features

How to use Debugger in qt creator ??

Scheduled Pinned Locked Moved General and Desktop
10 Posts 6 Posters 6.6k Views 1 Watching
  • 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.
  • Q Offline
    Q Offline
    Qzier
    wrote on last edited by
    #1

    Hi all, I don't know how to use Debugger in qt creator in the windows ?? I hope that I anyone would guid me to ??

    Window->Views -> Debugger , it is right here !

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Scylla
      wrote on last edited by
      #2

      Depends on your toolchain you have to install the debugger at first (gdb/cdb)!

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Duck
        wrote on last edited by
        #3

        Window->Views -> Debugger is only the degugger log. That might get interesting when you have problems with the debugger behaviour.

        To start the debugger, you press <F5>

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Scylla
          wrote on last edited by
          #4

          <F5> is the key when you use the VS keybindings!

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #5

            It happens to be the default setting.

            1 Reply Last reply
            0
            • G Offline
              G Offline
              giesbert
              wrote on last edited by
              #6

              Just compile a debug build and press this nice button with an arrow and the bug (on the bottom left)

              Nokia Certified Qt Specialist.
              Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jonesy29847
                wrote on last edited by
                #7

                [Solved]
                Hello,

                How do I step through a function, the debugger seems to run through my code when I use F11 (Step into).

                Thanks much.

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  You can either use Visual studio or QtCreator as the IDE. Visual Studio has a very good compiler\debugger in it.
                  QtCreator comes with MingW and it provides debugging option too.
                  You can just use keys like F9-> breakpoint, F5->start debugging, F10 for tracing line by line.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jonesy29847
                    wrote on last edited by
                    #9

                    Ah ha, f10...thanks

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      You welcome...

                      1 Reply Last reply
                      0

                      • Login

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