[Lldb-commits] [PATCH] D105327: [lldb] Add the ability to silently import scripted commands
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 7 13:51:42 PDT 2021
Scripts can actually do work when they get imported (not just register commands) and you might for instance `command script import` a module that's going to do some work & present output in a breakpoint command or stop hook. But breakpoint commands and stop hooks are not interactive. So I'm a little hesitant about ganging "suppress output" and "interactive".
Jim
> On Jul 7, 2021, at 1:47 PM, Greg Clayton via Phabricator <reviews at reviews.llvm.org> wrote:
>
> clayborg added a comment.
>
> I think the only time we should not be silent is when the user types "command script import" from an interactive terminal. If this command comes in from the equivalent of "command source ...", sourcing init files then that IOHandler isn't interactive and we can easily suppress this.
>
>
> CHANGES SINCE LAST ACTION
> https://reviews.llvm.org/D105327/new/
>
> https://reviews.llvm.org/D105327
>
More information about the lldb-commits
mailing list