Error when running lldb debugger from bottom toolbar
See original GitHub issueBrief Issue Summary
When clicking on ‘Debug’ from the bottom toolbar the lldb debugger fails to start with an error in the debug console. Pressing F5 however, will launch the debugger correctly.
Expected Behavior
This used to work in previous versions.
CMake Tools Log
DEBUG CONSOLE log:
Starting: “/usr/bin/lldb” --interpreter=mi lldb: unrecognized option `–interpreter=mi’ error: unknown or ambiguous option Usage: …
Platform and Versions
- Operating System: macOS 10.12.6
- CMake Version: 3.20.2
- VSCode Version: 1.25.1
- CMake Tools Extension Version: 1.1.1
- Compiler/Toolchain: clang 9.0.0
Other Notes/Information
launch.json: “version”: “0.2.0”, “configurations”: [ { “name”: “(lldb) Launch”, “type”: “cppdbg”, “request”: “launch”, “program”: “${workspaceFolder}/service/app”, “args”: [], “stopAtEntry”: false, “cwd”: “${workspaceFolder}/service”, “environment”: [], “externalConsole”: false, “MIMode”: “lldb”, } ]
$ lldb --version lldb-900.0.64 Swift-4.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (8 by maintainers)
Top Results From Across the Web
Troubleshooting - The LLDB Debugger
First you must make sure that your source files were compiled with debug information. Typically this means passing -g to the compiler when...
Read more >VSCode+LLDB debugging not working properly in Vagrant ...
The hovering debug toolbar of VSCode appeared, but there is a constantly running progress bar (see below). The whole debug process is stuck....
Read more >Error Debugging in C++ with VS Code - Rollbar
Once an application has been created, select the “Run and Debug” icon on the left toolbar to initialize debug mode. Initializing Debug Mode....
Read more >Stepping through code and inspecting variables to isolate bugs
Xcode debugger toolbar, showing the show or hide debug area button, ... As you step through your app, inspect variables relevant to your...
Read more >Debugging Swift code with LLDB - Medium
Fancy Xcode Debugger UI shows you all available information without ... with e -O -- or simply using alias po like in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vector-of-bool hi, 1.1.3 does not solve it automatically for me. I am using this workaround at the moment:
Wouldnt you ultimately want to integrate it with the existing launch system configuration(s) rather than generating your own on the fly? Or as a quick fix, maybe you could take a stab at the debugger from the compiler being used?
The debugger on the tool bar is a nice feature. I think it would be worth expanding on to cater for all configurations.