Bug 50530 - KVM: UnsupportedOperationException in details area
Summary: KVM: UnsupportedOperationException in details area
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 21:54 EST by Darin Wright CLA
Modified: 2004-05-04 20:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2004-01-23 21:54:01 EST
The variables detail view doesn't seem to work.  Something about an
UnsupportedOperationException.  It looks like the KVM doesn't support executing
a method to retrieve that information?  Closing that view doesn't cause any 
real trouble, although I've always liked that view.
Comment 1 Darin Wright CLA 2004-01-26 17:19:53 EST
Appears to be a VM limitation. Does not support method invocation. Some 
evaluations work, since we have an interpretter that performs method 
invocations as required. For example simple arithmetic with primitive types 
works, since the evaluation is done by the debug client, not the VM. 
Comment 2 Justin Reynen CLA 2004-03-15 05:55:27 EST
Sun has fixed this problem, but not released the new KVM.

The only way to get at the new KVM, is to download the new Sun ONE 5, Micro 
Edition trial from their web-site, and then rip it out of the root directors 
(it's in the 'emulator' directory of the installs root). I c&p the new WTK 
over the latest one from Sun (from December), tried remote debugging with the 
latest Eclipse, and it works perfectly.
Comment 3 Yae-chan Ju CLA 2004-05-03 02:40:44 EDT
I tried remote debugging with the new KVM, but detail view doesn't work.
Are you verify this case?

I tried debugging with WSDD 5.6 trial, and detail view works perfectly.

What's difference WSDD and Eclipse?
I guess that "com.ibm.ive.devicelaunching" plugin is the key to the soultion of 
the problem.
it is extend jdt.launching.vmConnectors

   <extension
         point="org.eclipse.jdt.launching.vmConnectors">
      <vmConnector
            class="com.ibm.ive.devicelaunching.connector.DeviceConnector"
            id="com.ibm.ive.devicelaunching.connector.deviceConnector">
      </vmConnector>
   </extension>

I hope, it is help to your job.

Comment 4 Yae-chan Ju CLA 2004-05-04 20:38:06 EDT
I must apologize for my mistake.
This problem may not solve to WSDD 5.6.

I'm examine the function once more.
The variables detail view doesn't seem to work. but it is work stably to "J9".

I hope, It will help to solve this problem.