Name: bsC130419 Date: 08/10/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Request for argument LocalVariables when no debug attributes present.
Currently, the JDI specification and implementaion of
com.sun.jdi.StackFrame.visibleVariables() throws an AbsentInformationException
if there is no line number information for a method. However, it would seem
that it should be possible to return LocalVariable objects for the method
arguments in this case, as the number and types of the parameter variables is
given by the type info in the method header; the offsets of the parameter
variables is predictable and can be readily calculated from info in the method
header. Variable names may have to be invented - i.e. "arg1", etc.
It would be advantageous to display arguments & their values in a debugger even
when debug attributes are not present.
(Review ID: 129819)