United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4162352 : JVMDI spec: accessing return value of a method on the stack

Details
Type:
Enhancement
Submit Date:
1998-07-31
Status:
Closed
Updated Date:
2004-08-06
Project Name:
JDK
Resolved Date:
2004-08-06
Component:
core-svc
OS:
generic,windows_95
Sub-Component:
debugger
CPU:
x86,generic
Priority:
P4
Resolution:
Won't Fix
Affected Versions:
1.2.0,1.4.0
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

Description

Name: clC74495			Date: 07/31/98


Carlos.Lucasius@Canada (July 31, 1998):

In his bug report (see below), the submitter is asking many questions.
He is not a licensee, so I don't believe he is entitled to this kind of
support.  Anyway, this is what his RFE comes down to:

"I am interested in getting at the return value of a method once a
 Frame_Pop event has been detected. At the moment in JVMDI, once
 a Frame_Pop event has been detected, there seems to be no way of
 looking at the return value of the method that cause the event in the
 first place."

--------

BUG REPORT FOLLOWS:

Hi there,

Another JVMDI question, in the jvmdi.h file 
distributed with JDK 1.2 beta 4, I found the 
following quote:

/*
 *  Operand Stack
 *
 *  operations on operand stack to be added later **
 */

Now in the documentation for JBug in the status 
section for JVMDI (URL: 'http://developer.java.sun.com/developer/earlyAccess/jbug/doc/jvmdi-status.html' )
it mentions that the implementation and interface are complete and fairly stable,
does this mean that the operand stack functions have been 
disgarded or is there still work being done on them, and 
if there is still work being done is there any idea 
in which release/beta version it will be included?

My primary reason for asking is that I am interested in
getting at the return value of a method once a Frame_Pop 
event has been detected. At the moment in JVMDI, once a 
Frame_Pop event has been detected, there seems to be 
no way of looking at the return value of the method 
that cause the event in the first place.

Is there a current workaround to this or are there plans 
to include functionality to this effect in later 
versions, and if not, can I request that it be 
considered for an extension to JVMDI.

Thanks alot once again for all your help.
(Review ID: 36159)
======================================================================

                                    

Comments
PUBLIC COMMENTS

.
                                     
2004-08-13
EVALUATION


###@###.### 2004-08-06

This won't be fixed because JVMDI is deprecated.  
However, this has been added to JVMTI
  4954587   MethodExit event - return_value parameter not provided

and will be added to the other JPDA layers - JDWP and JDI:
  4195445   JDWP, JDI: Add return value to Method Exit Event
                                     
2004-08-13



Hardware and Software, Engineered to Work Together