When I try to use cdt-gdb-vscode to achieve debugging of cpp files in Theia with GDB, the code doesn't break at breakpoint, the breakpoint is faded and when I hover over a message saying r -break-insert: Unknown option ``-source'' is shown . I use the below Launch.json configuratoin
{
// 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": [
{
"type": "gdb",
"request": "launch",
"name": "Debug (GDB)",
"program": "${workspaceFolder}\HelloWorld.exe"
}
]
}
When I try to use cdt-gdb-vscode to achieve debugging of cpp files in Theia with GDB, the code doesn't break at breakpoint, the breakpoint is faded and when I hover over a message saying r -break-insert: Unknown option ``-source'' is shown . I use the below Launch.json configuratoin
Error (On hover near breakpoint):