mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix NPE
This commit is contained in:
parent
0edfd9947c
commit
86af48c1f9
1 changed files with 2 additions and 0 deletions
|
@ -516,6 +516,8 @@ public class BreakpointManager extends Manager {
|
|||
setLocationBreakpoint(bkpt);
|
||||
List blist = getBreakpointsList(target);
|
||||
blist.add(bkpt);
|
||||
// Force the reset of the location.
|
||||
bkpt.setLocation(null);
|
||||
|
||||
// Fire a created Event.
|
||||
MIBreakpoint[] miBreakpoints = bkpt.getMIBreakpoints();
|
||||
|
|
Loading…
Add table
Reference in a new issue