1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Only get the top level stackFrame

This commit is contained in:
Alain Magloire 2002-11-18 19:04:36 +00:00
parent d27bd20cc2
commit ff27cbfa7f

View file

@ -42,7 +42,7 @@ public class CThread extends CObject implements ICDIThread {
StackFrame getCurrentStackFrame() throws CDIException { StackFrame getCurrentStackFrame() throws CDIException {
if (currentFrame == null) { if (currentFrame == null) {
ICDIStackFrame[] frames = getStackFrames(); ICDIStackFrame[] frames = getStackFrames(0, 0);
if (frames.length > 0) { if (frames.length > 0) {
currentFrame = (StackFrame)frames[0]; currentFrame = (StackFrame)frames[0];
} }