mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Check for null.
This commit is contained in:
parent
485e389263
commit
af0a71b0f1
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ public class CLocalVariable extends CModificationVariable
|
|||
public void handleDebugEvent( ICDIEvent event )
|
||||
{
|
||||
ICDIObject source = event.getSource();
|
||||
if (source == null)
|
||||
return;
|
||||
|
||||
if ( source.getTarget().equals( getCDITarget() ) )
|
||||
{
|
||||
if ( event instanceof ICDIChangedEvent )
|
||||
|
|
Loading…
Add table
Reference in a new issue