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:
parent
d27bd20cc2
commit
ff27cbfa7f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class CThread extends CObject implements ICDIThread {
|
|||
|
||||
StackFrame getCurrentStackFrame() throws CDIException {
|
||||
if (currentFrame == null) {
|
||||
ICDIStackFrame[] frames = getStackFrames();
|
||||
ICDIStackFrame[] frames = getStackFrames(0, 0);
|
||||
if (frames.length > 0) {
|
||||
currentFrame = (StackFrame)frames[0];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue