[lldb-dev] [Bug 25081] New: SBThread::is_stopped shows incorrect value

via lldb-dev lldb-dev at lists.llvm.org
Tue Oct 6 15:25:02 PDT 2015


            Bug ID: 25081
           Summary: SBThread::is_stopped shows incorrect value
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: berykubik at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15016
  --> https://llvm.org/bugs/attachment.cgi?id=15016&action=edit
C++ source code that loops endlessly

I'm using lldb 3.8 built from trunk. When I stop the process, it stops all the
threads, but their attribute is_stopped is not set properly. I've attached a
simple C++ source code that loops endlessly.

import lldb
import os
import time

debugger = lldb.SBDebugger.Create()
target = debugger.CreateTarget("./test")
process = target.LaunchSimple([], [], os.getcwd())




for t in process:
    assert t.is_stopped

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151006/848d38cb/attachment.html>

More information about the lldb-dev mailing list