[Lldb-commits] [PATCH] D116788: [lldb] Set result error state in 'frame variable'

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 11 16:20:23 PST 2022


Indeed not.  Since you can get everything you would need straightforwardly using SBFrame::FindVariables, there’s no pressing need to give another way to do it using HandleCommand.

Jim

> On Jan 11, 2022, at 2:02 PM, Dave Lee via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> kastiglione added a comment.
> 
>> if I run “frame var” from HandleCommand in a script, with this change I can’t rely on the command status to tell whether the command output had anything interesting in it. That seems awkward.
> 
> This could be resolved by introducing a new enum value to indicate partial success, partial failure. I think that would be reasonable. I don't think that should block this change though, do you?
> 
> 
> Repository:
>  rG LLVM Github Monorepo
> 
> CHANGES SINCE LAST ACTION
>  https://reviews.llvm.org/D116788/new/
> 
> https://reviews.llvm.org/D116788
> 



More information about the lldb-commits mailing list