Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23667

breakpoint in simple example in qthread::Thread::run() easily confuses the user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.12.0-beta1
    • Debugger
    • macOS

    Description

      Setting a breakpoint in qthread::Thread::run() as described in https://wiki.qt.io/Qt_Creator_ManualTests_DebuggerLldb should stop 14 times.
      Normally it does stop 1-2 times.
      What happens is that a single stop might have several threads at the breakpoint, but this is easily overlooked by the user, that sees only one of the threads as stopped but the breakpoint, and does not realise that other threads are also at a breakpoint.
      Continuing will continue all the stopped threads, and so the uses "misses" the other threads that did stop but where not highlighted.
      It is not fully incorrect, but highly confusing.

      Attachments

        Issue Links

          Activity

            People

              hjk hjk
              fawzi Fawzi Mohamed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: