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. [Moved] debugger not observing breakpoints in terminal app

[Moved] debugger not observing breakpoints in terminal app

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 3.0k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi -

    I'm trying to debug a small app that uses the terminal for I/O. It seems that none of my breakpoints are being observed; the program just runs. Is there a special setting I have to use to get the debugger to work with terminal apps?

    Thanks

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vinb
      wrote on last edited by
      #2

      try F5,
      do you mean that the debugger does work with a gui program?

      1 Reply Last reply
      0
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        I'm on a Mac; not sure F5 does anything for me.

        And yes, the debugger works sensationally on a GUI app. But in my terminal app, I have breakpoints all over the place, and the program just skips over them and goes on.

        It may have something to do with the Mac opening two terminal windows for me when I launch the program. I don't really need to run this in the terminal; what's the quickest way to change this project to just do I/O to the console?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vinb
          wrote on last edited by
          #4

          Sorry, cant help you here.
          Mayby you can try qdebug class to help you out for the moment?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            I can confirm this. Seems to be a bug. I suggest, you open a new issue on the "bug tracker":http://bugreports.qt.nokia.com.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #6

              Done.

              "link to bug report":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4593

              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