ITADN

Breakpoints ignored with "No source file named ..." error on GDB under Windows

#274Openmarkbers236 创建于 2025-12-13
M
markbers236commented
Running gdb under Windows (MSYS2). Trying to set a breakpoint `dape-breakpoint-toggle` results in it being ignored by gdb. The UI sees the breakpoints fine. ``` No source file named c:/Users/maksi/Projects/cpp/main.cpp. Breakpoint 1 (-source c:/Users/maksi/Projects/cpp/main.cpp -line 6) pending. No source file named c:/Users/maksi/Projects/cpp/main.cpp. Breakpoint 2 (-source c:/Users/maksi/Projects/cpp/main.cpp -line 6) pending. No source file named c:/Users/maksi/Projects/cpp/main.cpp. Breakpoint 3 (-source c:/Users/maksi/Projects/cpp/main.cpp -line 5) pending. * Processed c:\Users\maksi\Projects\cpp\app.exe * Hello world! * Exit code 0 * * Session terminated * ```
1 条评论