United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4195445 JDWP, JDI: Add return value to Method Exit Event
JDK-4195445 : JDWP, JDI: Add return value to Method Exit Event

Details
Type:
Enhancement
Submit Date:
1998-12-07
Status:
Resolved
Updated Date:
2005-01-07
Project Name:
JDK
Resolved Date:
2005-01-07
Component:
core-svc
OS:
solaris_9,generic
Sub-Component:
debugger
CPU:
sparc,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0,6
Fixed Versions:

Related Reports
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
There's currently no way to access a method's return value in method exit events (or at any other time for that matter). This feature is useful for tracing method calls with their parameters and return values. 

                                    

Comments
EVALUATION

Add as Tiger Feature
###@###.### 2003-09-16
This has been approved by CCC.
This value is available in JVMTI.  We have to add a new eventKind
to JDWP, eg, METHOD_EXIT_WITH_RETURN_VALUE, and a new method to JDI MethodExitEvent:
     Value returnValue();


###@###.### 2003-11-18
Decomitting from Tiger.  Not enough time.
                                     
2003-11-18
PUBLIC COMMENTS

.
                                     
2004-08-11
WORK AROUND

 
                                     
2004-08-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-08-11
SUGGESTED FIX

SA-JDI changes for this bug:

Webrev: http://bongo.india.sun.com/debugging/sa/4195445/webrev/

Refer to attachment "sa-jdi-webrev.tar" as well.
###@###.### 2004-12-07 05:15:17 GMT
----------------
See attached webrev.

###@###.### 2004-12-17 18:29:04 GMT
                                     
2004-12-07



Hardware and Software, Engineered to Work Together