* @return Reads JDWP representation and returns new instance.
*/
public static StackFrameImpl readWithLocation(MirrorImpl target,
ThreadReferenceImpl thread, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
JdwpFrameID ID = new JdwpFrameID(vmImpl);
ID.read(in);
if (target.fVerboseWriter != null) {
target.fVerboseWriter.println("stackFrame", ID.value()); //$NON-NLS-1$
}
if (ID.isNull()) {
return null;
}
LocationImpl location = LocationImpl.read(target, in);
if (location == null) {
return null;