Closed adityababerwal closed 10 months ago
So, from what I understood, if your code compiles without any errors, you can use the debugger without any problems.
It does compile without any errors. Here is a video of my issue:
https://github.com/dreamsofcode-io/neovim-cpp/assets/106467696/f0d523cd-0007-442b-9e72-9da064770209
I compile the file with
After that I run
The debugger does not stop at the breakpoints. Also the 'R' at place of breakpoints, I read that it means the breakpoint was rejected by debugger.
There are no steps to reproduce this error, I just git cloned this repo in my nvim config. I have installed clangd, clang-format and codelldb with mason.
g++ -g -O3 copying.cpp -o copying
and have breakpoints set as::DapContinue
with<leader>dr
, the nvim-dap-ui opens and closes in a flash. I have to run:lua require('dapui').toggle()
to see what happened: