mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for PR 43101: Breakpoint exception when source doesn't exist.
The 'fireBreakpointChanged' method of 'BreakpointManager' is used to notify the UI components that a breakpoint is added. This is a part of new implementation to support deffered breakpoints. For new breakpoints the 'delta' argument is null. Check if delta is not null to avoid this problem.
This commit is contained in:
parent
56878fb495
commit
5669e06d25
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-15-10 Mikhail Khodjaiants
|
||||
Fix for PR 43101: Breakpoint exception when source doesn't exist.
|
||||
The 'fireBreakpointChanged' method of 'BreakpointManager' is used to notify
|
||||
the UI components that a breakpoint is added. This is a part of new implementation
|
||||
to support deffered breakpoints. For new breakpoints the 'delta' argument is null.
|
||||
Check if delta is not null to avoid this problem.
|
||||
* CDebugTarget.java
|
||||
|
||||
2003-11-10 Mikhail Khodjaiants
|
||||
Detail Pane values for casted variables.
|
||||
* CVariable.java: the qualified name should be chached in the InternalVariable instance
|
||||
|
|
|
@ -796,7 +796,7 @@ public class CDebugTarget extends CDebugElement
|
|||
return;
|
||||
try
|
||||
{
|
||||
if ( breakpoint instanceof CBreakpoint )
|
||||
if ( breakpoint instanceof CBreakpoint && delta != null )
|
||||
changeBreakpointProperties( (CBreakpoint)breakpoint, delta );
|
||||
}
|
||||
catch( DebugException e )
|
||||
|
|
Loading…
Add table
Reference in a new issue