Bug 27632 - Debug doesn't work
Summary: Debug doesn't work
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P1 major (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-04 03:30 EST by Boris Pruessmann CLA
Modified: 2002-12-04 10:32 EST (History)
0 users

See Also:


Attachments
start_carbon.sh (4.00 KB, application/x-macbinary)
2002-12-04 04:52 EST, Boris Pruessmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Pruessmann CLA 2002-12-04 03:30:41 EST
I20021203 on MacOS X 10.2.2

Trying to start a debug session, I get the following output on the console:

usage: cp [-R [-H | -L | -P]] [-f | -i] [-p] src target
       cp [-R [-H | -L | -P]] [-f | -i] [-p] src1 .... srcN target
/tmp/start_carbon.sh: /tmp/swt_stubs/Bootstrap.app/Contents/MacOS/Bootstrap: 
No such file or directory
/tmp/start_carbon.sh: 
exec: /tmp/swt_stubs/Bootstrap.app/Contents/MacOS/Bootstrap: No such file or 
directory
Comment 1 Andre Weinand CLA 2002-12-04 03:59:56 EST
cannot reproduce problem in I20021203.
What is the pathname of the Eclipse application from which 'Bootstrap' is started?
Please attach the script '/tmp/start_carbon.sh' to this report.
Comment 2 Boris Pruessmann CLA 2002-12-04 04:51:10 EST
the application is under /Users/bpruessm/Desktop/Eclipse Test/
Comment 3 Boris Pruessmann CLA 2002-12-04 04:52:11 EST
Created attachment 2642 [details]
start_carbon.sh
Comment 4 Andre Weinand CLA 2002-12-04 09:52:46 EST
I suspect the space character in "/Users/bpruessm/Desktop/Eclipse Test/" is the problem.
I'll verify if my startup script can deal with it. 
If possible please remove the space and try again!
Comment 5 Andre Weinand CLA 2002-12-04 09:55:14 EST
Hey, that's a good test case :-)
There is another space in "/Users/bpruessm/Desktop/Eclipse Bauhaus/Eclipse.app/
Contents/MacOS/Eclipse"...
Comment 6 Boris Pruessmann CLA 2002-12-04 10:13:17 EST
You're right. Changing the path fixed _that_ debug problem. However, now I get:

Error occured during initialization of VM
java.lang.Error: java.io.UnsupportedEncodingException: MacRoman

Adding charsets.jar to the Installed VM more or less resolved the problem but 
then I get:

[JavaAppLauncher Error] FindClass() failed for class 
apple/launcher/LaunchRunner:
Exception in thread "main" java.lang.NoClassDefFoundError: 
apple/launcher/LaunchRunner

NB: I am using JDK 1.4.1DP6
Comment 7 Andre Weinand CLA 2002-12-04 10:32:00 EST
fixed start_carbon.sh released on 20021204

(the other problem seems to be DP1.4.1 related; If I remember correctly there were a 
thread on the java-seed mailing list. If its really an Eclipse problem we need a new 
problem report for this)