================ @@ -68,10 +78,23 @@ def __call__(self, debugger, command, exe_ctx, result): return total = cmd_options.total - progress = lldb.SBProgress("Progress tester", "Detail", total, debugger) + if total == -1: ---------------- clayborg wrote:
Default will be None if not set now, so this should be: ``` if total is None: ``` https://github.com/llvm/llvm-project/pull/124648 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits