lldb has the -x option but this doesn't exist at all for lldb-vscode. To be honest my main goal is the ability to run the lldb-vscode tests without an lldbinit file polluting it.
The DAP doesn't seem to have it (https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Initialize) so we're adding it as an env var.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 41677 Build 41947: arc lint + arc unit
Event Timeline
Comment Actions
If MS VS Code IDE itself will never pass this to the "initialize" packet, then we might just want to use an env var instead? You should probably get rid of https://reviews.llvm.org/D70886 and just modify this patch?
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
---|---|---|
64 | make singleton function: bool GetSkipInitFiles() { static const bool skip_init = getenv("LLDBVSCODE_SKIP_INIT_FILES") != NULL; return skip_init; } |
make singleton function: