microsoft / microsoft/MIEngine

Disassembly view not working with Ada

Open
#1,383 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

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

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached gdb_output.1.txt and reproducing the empty Disassembly view with the listed Ubuntu, VS Code, C/C++ extension, and GDB versions. Compare the failing Ada session with a working session to identify why the view reports unavailable; done means the Disassembly view displays the program instructions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.