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. (MacOS - QTCreator) Having trouble getting the debugger to hit breakpoints a basic c++ app ONLY when running through external terminal
Forum Updated to NodeBB v4.3 + New Features

(MacOS - QTCreator) Having trouble getting the debugger to hit breakpoints a basic c++ app ONLY when running through external terminal

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 341 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
    hotdiggitydoddo
    wrote on last edited by hotdiggitydoddo
    #1

    Hi,

    So basically, my simple command line sample hits breakpoints just fine when debugging into the app with the built-in output console for output, but since it requires user input, I configured the app to run in the external terminal (in my case iTerm2). The app fires up, the debugger starts, but it seems to completely skip over my breakpoints.

    Any ideas on what am I doing wrong? Can't seem to find anything with google-foo. :)

    H 1 Reply Last reply
    0
    • H hotdiggitydoddo

      Hi,

      So basically, my simple command line sample hits breakpoints just fine when debugging into the app with the built-in output console for output, but since it requires user input, I configured the app to run in the external terminal (in my case iTerm2). The app fires up, the debugger starts, but it seems to completely skip over my breakpoints.

      Any ideas on what am I doing wrong? Can't seem to find anything with google-foo. :)

      H Offline
      H Offline
      hotdiggitydoddo
      wrote on last edited by
      #2

      Any guidance on this? It's making the difference right now between me even using QtCreator to begin with.

      • I installed QtCreator 4.9.1 using homebrew.
      • I created a plain c++ app which asks for one piece of input from user. Nothing fancy. :)
      aha_1980A 1 Reply Last reply
      0
      • H hotdiggitydoddo

        Any guidance on this? It's making the difference right now between me even using QtCreator to begin with.

        • I installed QtCreator 4.9.1 using homebrew.
        • I created a plain c++ app which asks for one piece of input from user. Nothing fancy. :)
        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @hotdiggitydoddo could be a bug... at least sounds strange.

        Have you already searched bugreports.qt.io?

        Your Debugger Log (Windows > Views > Debugger Log) might give some more insight too.

        And you could also try to install an older version.

        Regards

        Qt has to stay free or it will die.

        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