mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 23:45:23 +02:00
Bug 248440 Possible to set line breakpoint twice on the same external file
This commit is contained in:
parent
eea82af3a1
commit
537b8d2c4c
1 changed files with 2 additions and 4 deletions
|
@ -554,13 +554,11 @@ public class CDIDebugModel {
|
|||
}
|
||||
ICLineBreakpoint breakpoint = (ICLineBreakpoint)breakpoints[i];
|
||||
if ( sameSourceHandle( sourceHandle, breakpoint.getSourceHandle() ) ) {
|
||||
if ( breakpoint.getMarker().getResource().equals( resource ) ) {
|
||||
if ( breakpoint.getLineNumber() == lineNumber ) {
|
||||
return breakpoint;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue