Community
Participate
Working Groups
Created attachment 97203 [details] screenshot1 (new cpp project) Steps to Reproduce: [Description] DBCS used in cpp file names gets corrupted when compiled. This seems to also cause the debuger not to be able to link to source file in debug mode. [Steps] 1- Create a new DBCS "Hello World C++ Project" (See attached screenshot1) (File > New > C++ Project > Make File Project > Hello World C++ Project) 2- Click "Next" then "Finish" to generate the project 3- Make necessary stept to compile the project (Ex, in Solaris; change build command to gmake, etc) 4- Notice the corrupted DBCS in compiled cpp file (refer to attached screenshot2) 5- Execute generated binary file and verify that it works fine 6- Run generated binary file in debug mode (Right-click > Debug as > Local C/C++ Application) [Expected output] 1- After compiling the DBCS hello world cpp file, it is displayed corrupted in project explorer 2- When running generated binary file in debug mode, the debugger fails to link back to source file and displays the error message shown in attached screenshot2 More information: Reproduced the problem on following platforms so far: + SLES 10 SP1 1.6.0 IBM J9 VM build 2.4 + Solaris 10 (sparc) 8/07 Sun JDK 1.6.0_04-b12 + Mac OS X 10.5.2 SDK 1.5.0_13
Created attachment 97204 [details] screenshot2 (debug mode)
Forgot to add build ID: Build ID: I20080413-0942
Here is update. In eclipse 3.6 with CDT 7, the .cpp file is not corrupted. However, the debugger gets the same error when the step of the debugger comes the main. This symptom still happens in Mac OS X 10.6.1 and RedHat V5.4. Environment -------------------- OS: Mac OS X 10.6.1 JDK: java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) Client VM (build 14.1-b02-90, mixed mode) Java option to change the encoding to UTF-8: export _JAVA_OPTIONS="-Dfile.encoding=UTF-8" Locale: ja_JP.UTF-8 -------------------- OS: RedHat Enterprise Linux V5.4 JDK: JRE 1.6.0 IBM Linux build pxi3260sr7-20091215_02 (SR7) Locale ja_JP.UTF-8 --------------------
Created attachment 164345 [details] screenshot of the error