https://llvm.org/bugs/show_bug.cgi?id=25081
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: beryku...@gmail.com CC: llvm-b...@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()) time.sleep(1) process.Stop() time.sleep(1) for t in process: assert t.is_stopped -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev