[Lldb-commits] [PATCH] D80112: Check if thread was suspended during previous stop added.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 8 14:58:49 PDT 2020


jingham added a comment.

Humm...  So you'll have to test the continue behavior instead, which after all was your original issue.  That shouldn't be too hard, however.  Just make a breakpoint action that calls "thread suspend" on its thread and returns false for should_stop the first time it is called, and just returns true every time thereafter.  Then the program should stop at the second hit of the breakpoint rather than continuing to the exit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80112/new/

https://reviews.llvm.org/D80112





More information about the lldb-commits mailing list