-
Notifications
You must be signed in to change notification settings - Fork 124
"No symbol table is loaded. Use the "file" command." with MSYS2 gdb 9.2 #251
Copy link
Copy link
Closed
Description
OS: Windows 10 x64, Version 1909 Build 18363.1198
VSCode version: VSCodium 1.51.1
Extension version: 0.25.0
Compiler: clang++ 11.0.0.0, C++11
Build target: x86_64-pc-windows-msvc
To test my VSC configuration I wrote and compiled a test program in Debug mode via the CMake Tools extension. I've set up my launch.json and set a breakpoint. However when I click the Start Debugging button, GDB fails to attach and my program runs without stopping.
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "GDB",
"type": "gdb",
"gdbpath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
"request": "launch",
"target": "./helloVSCodium.exe",
"cwd": "${workspaceRoot}/bin",
"valuesFormatting": "parseText"
}
]
}Debug log:
No symbol table is loaded. Use the "file" command.
Running executable
[New Thread 2872.0x137c]
[New Thread 2872.0x400c]
[New Thread 2872.0xfb4]
Hello C++ World from VS Codium and clangd!
[Thread 2872.0x137c exited with code 0]
[Thread 2872.0xfb4 exited with code 0]
[Thread 2872.0x400c exited with code 0]
[Inferior 1 (process 2872) exited normally]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels