ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 458 forks source link

Breakpoints don't work when debugging c++ and c programs #1112

Closed ILOT-code closed 9 months ago

ILOT-code commented 9 months ago

Version confirmation

Following prerequisites

Not a user config issue

Neovim version

NVIM v0.9.4

Operating system/version

win10 wsl2 ubuntu

Terminal name/version

windows terminal

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

When I am debugging a C++ program, the breakpoints set will not work and will be skipped directly during the debugging process. I tried debugging the python program and found that everything was fine.Below is a screenshot Snipaste_2023-12-25_14-02-01 These two breakpoints were skipped directly, and the program stopped at the getchar() function.

Expected behavior

so what should I do to make it work properly?

Actual behavior

No response

Additional information

No response