Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4162352

JVMDI spec: accessing return value of a method on the stack

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0, 1.4.0
    • core-svc
    • generic, x86
    • generic, windows_95



      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)
      ======================================================================

            Unassigned Unassigned
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: