Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-debug-dev] Pluggable JDI clients

We are now able to swap out JDI clients for testing purposes.

To switch to the Sun JDI client:
1. Edit the "jdiclient" extension point in org.eclipse.jdt.debug.plugin.xml. 
The "name" field determines which JDI client will be used.
  ours: org.eclipse.jdi.internal.VirtualMachineManagerImpl
  suns: com.sun.tools.jdi.VirtualMachineManagerImpl
IMPORTANT: Be sure to never release plugin.xml pointing to the Sun JDI
2. Copy the appropriate tools.jar to your org.eclipse.jdt.debug plugin. Note 
that using a tools.jar that is newer than your jre may kill the jre. Sun's 
1.4 JDI client kills their 1.3.1 VM, for instance.

- Jared


Back to the top