You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using 'stock' lldb on Linux, in the command prompt I have access to commands history (using up/down arrows) and commands completion (using tab).
Apparently this doesn't work in pre-built codelldb (fetched from Releases).
Is there any workaround (e.g. environment variable to set) to make it work or should I have to recompile the project using some compiler flag?
Furthermore.
Has been a while now that this project is the only fork of lldb capable of print a proper version of enumerations with embedded values (e.g. Option, Result, etc).
Is the any chance to have you guys propose a PR to embed your Rust enums magic within the lldb upstream project? I think that would be super appreciated by a lot of persons
Is there any workaround (e.g. environment variable to set) to make it work or should I have to recompile the project using some compiler flag?
No. The liblldb bundled with CodeLLDB has been intentionally build without line editing support in order to reduce the number of system dependencies (in this case libedit.so). The intended use for it is a debug adapter in VSCode, which provides its own line editing facilities it the command line of the debug console.
Is the any chance to have you guys propose a PR to embed your Rust enums magic within the lldb upstream project?
This had been proposed a few years back, however no one stepped forward to be the maintainer of that code. And after several previous experiences of language support having been added and then removed from LLDB due to lack of maintenance (happened with Go and Java IIRC), LLDB folks were not excited about this proposal.
This will probably still happen, especially if Rust manages to establish as one of the Linux kernel languages, but I can't tell when.
When using 'stock' lldb on Linux, in the command prompt I have access to commands history (using up/down arrows) and commands completion (using tab).
Apparently this doesn't work in pre-built
codelldb
(fetched from Releases).Is there any workaround (e.g. environment variable to set) to make it work or should I have to recompile the project using some compiler flag?
Furthermore.
Has been a while now that this project is the only fork of lldb capable of print a proper version of enumerations with embedded values (e.g.
Option
,Result
, etc).Is the any chance to have you guys propose a PR to embed your Rust enums magic within the lldb upstream project? I think that would be super appreciated by a lot of persons
Thank you for your fantastic work
References:
The text was updated successfully, but these errors were encountered: