Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Moved] debugger not observing breakpoints in terminal app

    Tools
    3
    6
    2682
    Loading More Posts
    • 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.
    • mzimmers
      mzimmers last edited by

      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 Reply Quote 0
      • V
        vinb last edited by

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

        1 Reply Last reply Reply Quote 0
        • mzimmers
          mzimmers last edited by

          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 Reply Quote 0
          • V
            vinb last edited by

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

            1 Reply Last reply Reply Quote 0
            • G
              goetz last edited by

              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 Reply Quote 0
              • mzimmers
                mzimmers last edited by

                Done.

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post