codelldb run the program with ignore all the beakpoints #1214
Replies: 4 comments
-
Does |
Beta Was this translation helpful? Give feedback.
-
I can see now that the probleme just apears when usin GNU compiler it work success with clang++ is codelldb work with g++ compiler |
Beta Was this translation helpful? Give feedback.
-
Yes, codelldb works with programs compiled using g++. Please make sure that the compiler outputs the debug information. This page might give you with more hints. |
Beta Was this translation helpful? Give feedback.
-
no I'm sure that the program contain debug informations, Im using cmake and with g++ it doesn't work but when i switch to clang (without changing the CMakeBuildType) it work, {
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 10,
"patch": 0
},
"configurePresets": [
{
"name": "Release",
"generator": "MinGW Makefiles",
"binaryDir": "${sourceDir}\\build\\Release",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug",
"generator": "MinGW Makefiles",
"binaryDir": "${sourceDir}\\build\\Debug",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
} to: {
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 10,
"patch": 0
},
"configurePresets": [
{
"name": "Release",
"generator": "MinGW Makefiles",
"binaryDir": "${sourceDir}\\build\\Release",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug",
"generator": "MinGW Makefiles",
"binaryDir": "${sourceDir}\\build\\Debug",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
} with the same preset |
Beta Was this translation helpful? Give feedback.
-
I'm using Neovim with nvim-dap,
and when i configure codelldb to be the adapter i using on cpp all the breakpoints transformed to the Letter R and it run the program with ignoring all the breakpoints, i try codelldb wih rust and it work the issue happen only with cpp executables (and Im sure that the program contain debug symboles)
Beta Was this translation helpful? Give feedback.
All reactions