[Lldb-commits] [PATCH] D151366: [lldb] Disable variable watchpoints when going out of scope

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 25 09:05:34 PDT 2023


aprantl added a comment.

> @aprantl Do you know if we can detect the end of the scope ? I'm not sure it's possible currently ... But even if we could do it, that wouldn't cover the following case:

When setting a variable watchpoint, you would have to store the scope the variable is in, and then ignore all hits that are (1) on the same thread but (2) where the scope is not any of the lexical scopes in any of the stack frames. Because you still want to find modifications in child frames or on other threads.


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

https://reviews.llvm.org/D151366



More information about the lldb-commits mailing list