1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Fix for bug 73801: Function breakpoints set from C View aren't shown in editor.

This commit is contained in:
Mikhail Khodjaiants 2004-11-11 21:46:28 +00:00
parent af6a913751
commit 5db467bcdf
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-11-11 Mikhail Khodjaiants
Fix for bug 73801: Function breakpoints set from C View aren't shown in editor.
* ToggleBreakpointAdapter.java
2004-11-10 Mikhail Khodjaiants
Fix for bug 77437: Disassembly blocks with no associated source code has PC pointer on wrong line.
* DisassemblyEditorInput.java

View file

@ -179,6 +179,10 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
if ( sourceRange != null ) {
charStart = sourceRange.getStartPos();
charEnd = charStart + sourceRange.getLength();
if ( charEnd <= 0 ) {
charStart = -1;
charEnd = -1;
}
lineNumber = sourceRange.getStartLine();
}
}