Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on February 19, 2012, 01:39:46 pm

Title: Debugger failed when the directory name is in Chinese.
Post by: 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/

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
Title: Re: Debugger failed when the directory name is in Chinese.
Post by: MortenMacFly on February 19, 2012, 01:49:57 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...