* SUMMARY Deadlock hitting breakpoint while inspecting a JSContext application. -> MainThread -> processing UI event (click a button) -> runs JSContext evaluateScript -> takes API lock -> hit breakpoint -> in nested run loop (idle) -> RWI Dispatch Queue -> receives incoming debugger command -> determines the global object -> APIEntry shim attempting to perform the command (locked) We never continue, because we're waiting for a debugger command, and the debugger command is stuck. The main thread needs to drop the JSLock (API lock) before running the nested event loop.
<rdar://problem/15941747>
Created attachment 222604 [details] [PATCH] Proposed Fix
Comment on attachment 222604 [details] [PATCH] Proposed Fix r=me
Comment on attachment 222604 [details] [PATCH] Proposed Fix Clearing flags on attachment: 222604 Committed r163051: <http://trac.webkit.org/changeset/163051>
All reviewed patches have been landed. Closing bug.