aperez wrote:

> @aperez Thoughts on this? I think this could be useful

I think it could be useful as well. 

Couple things to note though:
- If you allow for both sequences and iterators as arguments into 
`lldb.Progress.track` you might not know the total number steps in advance.
- You'll need to handle the case when users exit the loop early, so that 
`Finalize()` is still called.

https://github.com/llvm/llvm-project/pull/133527
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to