microsoft / microsoft/vscode-cmake-tools

[Feature] how to set gdbinit by vscode-cmake-tools ?

Open
#4,557 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Request Overview

* how to use vscode-cmake-tools setting gdbinit ?
https://github.com/gdbinit/Gdbinit/issues/52#issue-3355172387
* I had try setting `.vscode/setting.json`, but not work.
```
"cmake.debugConfig": {
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"setupCommands": [
{
"description": "load gdbinit file",
"text": "source ~/Gdbinit/gdbinit",
"ignoreFailures": true
}
],
},
```

### Additional Information

version: `1.21.36`

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the cmake.debugConfig setting shown in the issue and the vscode-cmake-tools debugging configuration for version 1.21.36. Determine whether loading a gdbinit file is supported or needs a documented configuration path; done means a verified setup or a clearly scoped implementation request.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, vscode
Domain
build-system, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.