1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-02 13:13: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,7 +525,9 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
ICDIThread currentThread = currentTarget.getCurrentThread(); ICDIThread currentThread = currentTarget.getCurrentThread();
if (currentThread != null) { if (currentThread != null) {
currentStack = currentThread.getCurrentStackFrame(); currentStack = currentThread.getCurrentStackFrame();
if (currentStack != null) {
high = currentStack.getLevel(); high = currentStack.getLevel();
}
if (high > 0) { if (high > 0) {
high--; high--;
} }