mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-23 08:13:50 +02:00
Fix NPE 46313
This commit is contained in:
parent
0abe445974
commit
3039c5061a
1 changed files with 6 additions and 1 deletions
|
@ -273,7 +273,12 @@ public class EventManager extends SessionObject implements ICDIEventManager, Obs
|
|||
Target cTarget = (Target)currentTarget;
|
||||
cTarget.updateState(threadId);
|
||||
try {
|
||||
cTarget.getCurrentThread().getCurrentStackFrame();
|
||||
ICDIThread cthread = cTarget.getCurrentThread();
|
||||
if (cthread != null) {
|
||||
cthread.getCurrentStackFrame();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} catch (CDIException e1) {
|
||||
//e1.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue