Accessing method arguments without debugging information

Hi all, is it possible with JPDA to know which is the value of the arguments of the methods in the current stack frame without using -g option? If not, is there any workaround (e.g., using jvmpi)?Thanks for your attention.Umberto Ferraro
[258 byte] By [umbfera] at [2007-9-29 4:44:32]
# 1
HelloThis request is Bug ID 4490824Synopsis: JDI: provide arguments when no debug attributes present http://developer.java.sun.com/developer/bugParade/bugs/4490824.html
debugging_teama at 2007-7-14 18:04:37 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2

Thanks for your answer. However, I found the following statement in

the Java Debug Wire Protocol specification:

"GetValues Command (1)

Returns the value of one or more local variables in a given frame.

Each variable must be visible at the frame's code index. Even if local

variable information is not available, values can be retrieved if the

front-end is able to determine the correct local variable index.

(Typically, this index can be determined for method arguments from the

methodsignaturewithoutaccess to the local variable table

information.)"

Do you think that it could help? I have not been help to understand

how to build the local variable index, do you have any suggestion?

Thanks again.

Umberto Ferraro

umbfera at 2007-7-14 18:04:37 > top of Java-index,Archived Forums,Debugging Tools and Techniques...