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:
parent
55972f09a0
commit
70223af71c
1 changed files with 4 additions and 2 deletions
|
@ -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--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue