eclipse-cdt-cloud / eclipse-cdt-cloud/cdt-gdb-adapter

how to specify custom gdb path to Adapter

Open
#301 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
39
Forks
56
Avg merge
3d 9h
Merged PRs (30d)
2

Description

Hi,
I use cdt-gdb-vscode in eclipse theia application in linux. it is ok when I debug c++ code by default gdb. debug config as follows
{
"name": "c++ test",
"types": "gdb",
"request": "launch",
"program": "my c++ a.out",
"cwd": "${workspaceFolder}"
}
now I want to use my custom gdb to debug some specific c++ code. I set miDebuggerPath in configuration, but it seems that debugger still use default gdb, not my custom gdb. I am not sure whether miDebuggerPath is the right param. config as follow
{
"name": "custom gdb c++ test",
"types": "gdb",
"request": "launch",
"program": "my c++ a.out",
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"miDebuggerPath": "path/to/my/custom gdb"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.