If you have the breakpoint ID, you can find the SB Breakpoint and just ask it 
directly what it's hit count or location hit count are, and you don't have to 
scrub text output.

Jim


> On Oct 18, 2021, at 2:55 AM, Nikolay Chokoev via Phabricator 
> <revi...@reviews.llvm.org> wrote:
> 
> georgiev added a comment.
> 
> What about the case when we have a logical BP with more than one location? 
> the locations may have different hit count.
> In particular we have a test like:
> patterns=[
> 
>  "1\.1: .+ unresolved, hit count = 0 +Options: disabled",
>  "1\.2: .+ resolved,( hardware,)? hit count = 1",
>  "1\.3: .+ resolved,( hardware,)? hit count = 1"])
> 
> 
> CHANGES SINCE LAST ACTION
>  https://reviews.llvm.org/D111899/new/
> 
> https://reviews.llvm.org/D111899
> 

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to