Open dtomarepo opened 4 weeks ago
Bug Summary: VSCode LLDB does not load ~/.lldbinit file content (.lldbinit in project dir is also not loaded).
Steps to reproduce:
{ "version": "0.2.0", "configurations": [ { "name": "(lldb) myprogram", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/src/main/myprogram", "args": [ "--nodaemon" ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ { "name": "MY_HOME", "value": "${env:MY_HOME}" }, ], "externalConsole": false, "MIMode": "lldb", } }
na
No response
Opening lldb in VSCode console and executing lldb command shows that config is then loaded (so it's correct), but VSCode seems to ignore it. Using Clion as alternative works as expected.
changing type to "type": "lldb" and configuring this extension also solves the problem:
"lldb.launch.initCommands": [ "command source ${env:HOME}/.lldbinit" ],
Environment
Bug Summary and Steps to Reproduce
Bug Summary: VSCode LLDB does not load ~/.lldbinit file content (.lldbinit in project dir is also not loaded).
Steps to reproduce:
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
Opening lldb in VSCode console and executing lldb command shows that config is then loaded (so it's correct), but VSCode seems to ignore it. Using Clion as alternative works as expected.