================ @@ -52,6 +52,13 @@ Non-deterministic progresses behave the same, but omit the total in the construc # Explicitly send a progressEnd, otherwise this will be sent # when the python runtime cleans up this object. non_deterministic_progress.Finalize() + +Additionally for Python, progress is supported in a with statement. :: + with lldb.SBProgress('Non deterministic progress, 'Detail', lldb.SBDebugger) as progress: ---------------- aperez wrote:
Just a nit, the string in the first argument is not terminated: ``` with lldb.SBProgress('Non deterministic progress', 'Detail', lldb.SBDebugger) as progress: ``` 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