[Lldb-commits] [PATCH] D149692: Allow scripted thread plans to modify the stop reason shown when the plan completes
Dan Liew via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 3 16:42:53 PDT 2023
delcypher added inline comments.
================
Comment at: lldb/examples/python/scripted_step.py:130
+ def stop_description(self, stream):
+ stream.Print("Simple step completed")
----------------
@jingham Thanks for implementing this. Is there a reason why the interface needs to act on a `stream` object? Wouldn't this be simpler
```
def stop_description(self) -> str:
return "Simple step completed"
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149692/new/
https://reviews.llvm.org/D149692
More information about the lldb-commits
mailing list