[Bug 25081] New: SBThread::is_stopped shows incorrect value

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@lists.llvm.org
Reporter berykubik@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Created attachment 15016 [details]
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())

time.sleep(1)

process.Stop()

time.sleep(1)

for t in process:
    assert t.is_stopped

labath@google.com changed bug 25081

What Removed Added
Status NEW RESOLVED
CC labath@google.com
Resolution DUPLICATE

Comment # 1 on bug 25081 from labath@google.com


*** This bug has been marked as a duplicate of bug 15824 ***