I am using Code :: Blocks 12.11 and Cygwin gdb on Windows 8. I have configured cygwin gdb in code :: blocks, when it is debugging, it reports a "file cannot be opened" error. Using gdb on the command line is fine.
I found this discussion from the Internet, but I can not find the entry in the register. I assume that the Debugger plugin cannot pass the correct path name in gdb, there is a βββ in the path prefix, I copied this to the editor and turned out to be two βhelperβ charaters (1A in ascii).
Here is the error log, "β" is added manually, because when I copied it here, the "sub" characters are not displayed.
Debugger name and version: GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special) Child process PID: 21936 Cannot open file: >>/cygdrive/e/code/test/main.cpp At >>/cygdrive/e/code/test/main.cpp:17 Debugger finished with status 0
My question
1. How can I make gdb work in Code :: Blocks
2. As a rule, both βsubβ characters matter and why they appear, how can I remove it.
codeblocks gdb
xiaobing
source share