1 33 34 package edu.rice.cs.drjava.model.debug; 35 36 import com.sun.jdi.*; 37 38 42 public class DebugStackData { 43 private volatile String _method; 44 private volatile int _line; 45 46 50 public DebugStackData(StackFrame frame) { 51 _method = frame.location().declaringType().name() + "." + 54 frame.location().method().name(); 55 _line = frame.location().lineNumber(); 57 } 58 59 62 public String getMethod() { return _method; } 63 64 67 public int getLine() { return _line; } 68 } 69 | Popular Tags |