http://llvm.org/bugs/show_bug.cgi?id=16566

            Bug ID: 16566
           Summary: LLDB ignores watchpoints on threads spawned after the
                    watchpoint is set
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

This appears to be a Mac OS X-specific issue which manifests as a watchpoint
being ignored when:

1. a watchpoint is set (for example, on a global)
2. a thread is created
3. the newly created thread modifies the (global) watched value

There is a workaround for this behaviour: if a breakpoint is hit on the newly
created thread, the watchpoint is 'enabled' because the 'global watchpoint
state is inherited'. For an example of the workaround, see

TestWatchpointsMultipleThreads.py:70


This bug is causing a number of test failures in the suite
TestConcurrentEvents.py on Mac OS X. To reproduce, uncomment the @skipIfDarwin
decorators, and do:

python dotest.py --executable <path-to-lldb> -p TestConcurrentEvents

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to