cs01 / cs01/gdbgui

Wrong breakpoint filenames sent to GDB on Windows

Open
#323 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm on Win10, using MinGW64s GDB. I installed gdbgui with pip in WinPython.

gdbgui launches fine, loads my Binary and can run and debug it just fine. However, clicking in a line does not set the breakpoint correctly:

-break-insert "C:\PROJECTS\mysource.c:23"
No source file named C.

When I manually send the command with double slashes it works fine:
-break-insert "C:\\\\PROJECTS\\\\mysource.c:23"

The breakpoint will then be highlighted correctly, and clicking the set breakpoint also correctly unsets it.

gdbgui: 0.13.2.0
GNU gdb (GDB) 9.1
Chrome Browser

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.