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. Qt debugging randomly stops on Mac OSX
Forum Updated to NodeBB v4.3 + New Features

Qt debugging randomly stops on Mac OSX

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 463 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.
  • WimmW Offline
    WimmW Offline
    Wimm
    wrote on last edited by Wimm
    #1

    Hi,

    I am trying to debug a simple Qt application, using the serial port. The program seems to work fine, but when I try debug messages in the form of qDebug() << xxxx, then the output to the application output windows seems to stop at random times.
    Also, some breakpoints are not taken. And when I try to stop debugging, I often have to select 'abort debugging' in the debug menu.
    So it is as if QtCreator disconnects from the debugger or something.
    I have tried the same code on windows, and there everything works fine, debugging works like a charm.

    I am working on OSX El Capitan (10.11.5). I am using Qt 5.5.1 with clang6.1 64bit. QtCreator 3.5.1. I have tried an older Qt version as well, same thing.

    Any ideas anyone? Is debugging 'buggy' on Mac OSX?

    Wim

    --------Update --------
    Debugging seems to work like a charm on the new Qt5.7.0, no disconnects anymore.
    Is there an issue with lower versions on El Capitan maybe?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should also add which version of OS X, Xcode and Qt Creator you are using.

      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

      • Login

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