1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-02 05:03:36 +02:00

Check for null in update().

This commit is contained in:
Alain Magloire 2003-04-05 02:37:48 +00:00
parent 55972f09a0
commit 70223af71c

View file

@ -525,9 +525,11 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
ICDIThread currentThread = currentTarget.getCurrentThread();
if (currentThread != null) {
currentStack = currentThread.getCurrentStackFrame();
high = currentStack.getLevel();
if (currentStack != null) {
high = currentStack.getLevel();
}
if (high > 0) {
high--;
high--;
}
low = high - MAX_STACK_DEPTH;
if (low < 0) {