diff --git a/org.ntlab.traceAnalyzer/src/org/ntlab/trace/ThreadInstance.java b/org.ntlab.traceAnalyzer/src/org/ntlab/trace/ThreadInstance.java index 16b3403..0d46569 100644 --- a/org.ntlab.traceAnalyzer/src/org/ntlab/trace/ThreadInstance.java +++ b/org.ntlab.traceAnalyzer/src/org/ntlab/trace/ThreadInstance.java @@ -167,7 +167,11 @@ } } - public MethodExecution getCuurentMethodExecution() { + public MethodExecution getCurrentMethodExecution() { return curMethodExecution; } + + public TracePoint getCurrentTracePoint() { + return new TracePoint(curMethodExecution, curMethodExecution.getStatements().size() - 1); + } }