mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-01 20:53:12 +02:00
Check for null in update().
This commit is contained in:
parent
55972f09a0
commit
70223af71c
1 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue