Better gdb & gcc integration for containerized toolchains
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- developer-experience, devtools
Research direction
Start by locating the launch-configuration handling for miDebuggerPath, miDebuggerArgs, and MIMode in the extension. Trace how the debugger command is assembled, then verify that a compound command such as toolbox with run gdb is invoked with the debugger arguments in the required order and that existing single-path configurations still work.
Written by the indexing model from the issue text.
Description
Feature Request
Currently launch configurations expect a single path for miDebuggerPath (as the name implies) but this creates friction if the underlying debugger requires some "pre" arguments. To give an example:
{
"type": "cppdbg",
"request": "launch",
"name": "Example",
"program": "${workspaceFolder}/...",
"preLaunchTask": "...",
"MIMode": "gdb",
"miDebuggerPath": "toolbox",
"miDebuggerArgs": "run gdb"
}
This triggers the debugger via toolbox --interpreter=mi run gdb, which is not correct as the debugger is not a single command but a compound command here.
There should be a way to provide a "debugger command" where additonal arguments are appended at the end.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-cpptools
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Openbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 assignee ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 comment · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
microsoft/vscode-cpptools#14769 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
microsoft/vscode-cpptools#14768 · 1 comment ·
All issues in microsoft/vscode-cpptools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·