Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313185 - [examples] can't install/run debug.examples in host SDK
Summary: [examples] can't install/run debug.examples in host SDK
Status: RESOLVED DUPLICATE of bug 276985
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 12:43 EDT by Darin Wright CLA
Modified: 2011-06-08 00:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2010-05-17 12:43:39 EDT
3.6 RC1

If you export & install the debug.core/ui examples into the SDK, the PDA debugger cannot be run from the host IDE since the launcher is set up to expect the PDA VM implementation to be in the "bin" output directory... You end up with class not found exceptions:

java.lang.NoClassDefFoundError: org/eclipse/debug/examples/pdavm/PDAVirtualMachine
Caused by: java.lang.ClassNotFoundException: org.eclipse.debug.examples.pdavm.PDAVirtualMachine
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.eclipse.debug.examples.pdavm.PDAVirtualMachine.  Program will exit.

We could re-packcage this, compiling the PDA VM & support classes into a separate jar that gets built with a ant script.
Comment 1 Pawel Piech CLA 2011-06-08 00:28:59 EDT
Dup

*** This bug has been marked as a duplicate of bug 276985 ***