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 
> <[email protected]> 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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to