Re: Feature request: method-local SourceFile attribute

Nathan Fiedler <[email protected]> 31 Oct 2003 13:36:45 -0800
Newsgroups gmane.comp.java.jswat.devel
Organization Blue Marsh Softworks
Message-ID <1067636198.1668.18.camel@chip>
JSwat gets the name of the source file via one of two methods,
Location.sourceName() and ReferenceType.sourceName(), depending on the
situation. A Location represents a particular instruction in a method in
a class, while a ReferenceType represents a class-type (an interface,
array, or class). Take a look at the JDI documentation to learn what
little more there is to the source file handling in JPDA. Mostly it has
to do with the new strata feature, to which RFE 463 would depend.

n


On Fri, 2003-10-31 at 12:16, Daniel Bonniot wrote:
> I thought that a debugger would get the source file directly from the
> class file, which means that it can decide how to interpret it. Is it
> not the case? Otherwise, would you have a pointer to where source file
> attributes handling is specified in the JPDA?