https://github.com/JDevlieghere approved this pull request.

Nice improvement! 

Not sure how hard it would be to extend this even more, but Python's 
[rich](https://rich.readthedocs.io/en/stable/progress.html) package has a 
progress bar that allows you to write:

```
for i in track(range(20), description="Processing..."):
    time.sleep(1)  # Simulate work being done
```

It would be cool if we could add an extension so you could write the same thing 
with LLDB's progress:

```
for i in lldb.Progress.track(range(20), description="Processing..."):
    time.sleep(1)  # Simulate work being done
```

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