User forums > General (but related to Code::Blocks)
Three minor bugs
mandrav:
In this gdb test of yours, you didn't try to set a breakpoint *inside* gdb (with a path containing Chinese chars)...
You see that's what C::B is trying to do and gdb responds with failure.
shajunxing:
--- Quote from: mandrav on October 31, 2007, 10:15:21 am ---In this gdb test of yours, you didn't try to set a breakpoint *inside* gdb (with a path containing Chinese chars)...
You see that's what C::B is trying to do and gdb responds with failure.
--- End quote ---
Again it works well... It's very simple to take a test. Open "Regional Settings" in the control panel. In the second tab sheet, check "Install files for East Asian languages". In the third tab sheet, change language for non-unicode programs to Chinese (or Japanese and Korean). Reboot and now you can install a Chinese imput method such as "pinyin" and type Chinese characters, or just simply copy characters from web page, or from here: "测试".
I believe once this problem(or other unknown problem about East Asian languages) is resoved, C::B will be much more perfect. :P
[attachment deleted by admin]
mandrav:
--- Quote ---Again it works well...
--- End quote ---
No, that's not what I asked. You still didn't pass any Chinese chars yourself to gdb. You just set a breakpoint in the current file.
Do the following:
[*] Add a new file in your project, residing in a subdirectory using Chinese characters.
[*] Run gdb manually like you did before and try to set a breakpoint on the file in the subdirectory.
mandrav:
--- Quote from: shajunxing on October 31, 2007, 11:32:53 am ---It's very simple to take a test. Open "Regional Settings" in the control panel. In the second tab sheet, check "Install files for East Asian languages". In the third tab sheet, change language for non-unicode programs to Chinese (or Japanese and Korean). Reboot and now you can install a Chinese imput method such as "pinyin" and type Chinese characters, or just simply copy characters from web page, or from here: "测试".
--- End quote ---
Yes, assuming I use windows at all :).
Anyway, I did test this under linux and works as expected. Try upgrading to a more recent gdb version. 5.2.1 is very old anyway. Try 6.x.
[attachment deleted by admin]
shajunxing:
Still I can't resovle the problem. I didn't use any chinese characters in the project such as filenames and folders. I know that's a bad habit. :D But you know east asian version windows have some funny characteristics. For example, the desktop's path is "C:\Documents and Settings\Administrator\Desktop" in english version, but in chinese version it is "C:\Documents and Settings\Administrator\桌面". When I demonstrat to my student and create a new project in the desktop, problem occurs. :shock:But Visual C++ works well.
Thank you anyway. I'll try to change my habit, and best wishes to you.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version