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

LLDB: breaking on breakpoint shows wrong thread.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 3.0.0-rc1
    • Qt Creator 3.0.0-beta
    • Debugger
    • None
    • MacOSX
    • 976e849740dfea44e4ab779950f96f70adf4a0de

      void func()
      {
      int a = 0; // breakpoint here
      }

      int main()
      {
      std::thread t = std::thread(&func);
      t.join();
      return 0;
      }

      On break, it shows the main thread callstack and current position in main thread. You will have to switch to worker thread to see where actual breakpoint is triggered. Moreover, after pressing 'Step Over' or 'Step into', you will be switched to main thread back again. Definitely unwanted behaviour.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            shiftz Andrew Shevchenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes