Skip to content

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

@markbers236

Description

@markbers236

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 *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions