Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator not stopping at breakpoints

Qt Creator not stopping at breakpoints

Scheduled Pinned Locked Moved Qt Creator and other tools
debuggerbreakpoint
4 Posts 2 Posters 1.9k 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.
  • K Offline
    K Offline
    kitfox
    wrote on 14 Oct 2015, 09:21 last edited by kitfox
    #1

    I'm new to Qt Creator and trying to step through some code that I've written. I've set a breakpoint on a line which prints a message to the console, so I know it is being executed. However, the debugger is not stopping when it gets to that line.

    I'm pretty sure I'm compiling for debug mode - the top icon of the bottom menu in the left sidebar says 'Debug' and if you expand it, I have "kit: Desktop Qt 5.5.0 MSVC2013 46-bit" and "build: debug" selected. This is also creating what looks like a debug build in the root of the directory where my project is.

    I'm starting a debug session by clicking the green arrow with the bug with the tooltip 'Start Debugging F5'.

    I'm running on Windows 7 using Qt Creator 3.5.0.

    How do I get the debugger to halt at my breakpoints?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Oct 2015, 21:02 last edited by
      #2

      Hi and welcome to devnet,

      The question might sound sill but did you also install Microsoft's debugger ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply 15 Oct 2015, 01:31
      0
      • S SGaist
        14 Oct 2015, 21:02

        Hi and welcome to devnet,

        The question might sound sill but did you also install Microsoft's debugger ?

        K Offline
        K Offline
        kitfox
        wrote on 15 Oct 2015, 01:31 last edited by
        #3

        @SGaist I don't remember explicitly installing it - I just ran the Qt setup. I also have Visual Studio Express installed.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Oct 2015, 22:43 last edited by SGaist
          #4

          Then, double check to ensure you did also install the debugger. It's not part of the Visual Studio installation.

          [edit: added missing part]

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          14 Oct 2015, 09:21

          • Login

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