News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Debugger failed when the directory name is in Chinese.

Started by huzhongshan, February 19, 2012, 01:39:46 PM

Previous topic - Next topic

huzhongshan

I copied the debugger windows message , I think the warning message in the log shows that the directory name is wrong/

Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: F:\小学学习资料\English\English\
Adding source dir: F:\小学学习资料\English\English\
Adding file: F:\小学学习资料\English\English\bin\Debug\English.exe
Changing directory to: F:/小学学习资料/English/English/.
Starting debugger: D:\CodeBlocks\MingGW\bin\gdb.exe -nx -fullname  -quiet  -args F:/小学学习资料/English/English/bin/Debug/English.exe
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.2
Warning: F:/灏忓瀛︿範璧勬枡/English/English: No such file or directory.
No source file named F:/灏忓瀛︿範璧勬枡/English/English/main.cpp.
Temporary breakpoint 2 ("F:/灏忓瀛︿範璧勬枡/English/English/main.cpp:390) pending.
Child process PID: 9340
Program exited normally.
Debugger finished with status 0

MortenMacFly

Quote from: huzhongshan on February 19, 2012, 01:39:46 PM
I copied the debugger windows message , I think the warning message in the log shows that the directory name is wrong/
When using GDB is is strongly advised to use only ANSI characters in the path... See GDB forums...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]