JDK-4195445 : JDWP, JDI: Add return value to Method Exit Event
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 5.0,6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_9
  • CPU: generic,sparc
  • Submitted: 1998-12-07
  • Updated: 2017-05-16
  • Resolved: 2005-01-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b19Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
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
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

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
2004-08-11

WORK AROUND
2004-08-11

PUBLIC COMMENTS .
2004-08-11

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