The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.
OS and version: Ubuntu 20.04
VS Code: 1.74.0
C/C++ extension: 1.13.9
GDB / LLDB version: 12.1.90
Bug Summary
I tried to use cppdebug to debug Ada code with VS Code. I am able to setup breakpoints, have a working registers view, but the Disassembly view does not work: I get an empty Disassembly view with a Disassembly not available message.
Environment
OS and version: Ubuntu 20.04 VS Code: 1.74.0 C/C++ extension: 1.13.9 GDB / LLDB version: 12.1.90
Bug Summary
I tried to use cppdebug to debug Ada code with VS Code. I am able to setup breakpoints, have a working registers view, but the Disassembly view does not work: I get an empty Disassembly view with a Disassembly not available message.
The original issue on vscode-cpptools can be found here: https://github.com/microsoft/vscode-cpptools/issues/10358
I have attached the full GDB logs and the launch.json configuration I have used: let me know if you need anything more!
Debugger Configurations
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "C++ Launch", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/obj/main", "cwd": "${workspaceFolder}" } ] }
Debugger Logs
Full log here gdb_output (1).txt
Language Support for Ada: https://marketplace.visualstudio.com/items?itemName=AdaCore.ada
Additional Information