1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 102563: Break points not working. Temporary switching back to use file names instead of full paths.

This commit is contained in:
Mikhail Khodjaiants 2005-07-11 15:18:03 +00:00
parent e83262eb3d
commit d3ee3bfc24
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-11 Mikhail Khodjaiants
Bug 102563: Break points not working.
Temporary switching back to use file names instead of full paths.
* CBreakpointManager.java
2005-07-10 Mikhail Khodjaiants
Bug 103173: Register: user created register groups disappear after debug session restart.
* CRegisterManager.java

View file

@ -600,7 +600,7 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
ICDITarget cdiTarget = getCDITarget();
String handle = breakpoint.getSourceHandle();
IPath path = convertPath( handle );
ICDILineLocation location = cdiTarget.createLineLocation( path.toPortableString(), breakpoint.getLineNumber() );
ICDILineLocation location = cdiTarget.createLineLocation( path.lastSegment()/*path.toPortableString()*/, breakpoint.getLineNumber() );
ICDICondition condition = createCondition( breakpoint );
setLocationBreakpointOnTarget( breakpoint, cdiTarget, location, condition, enabled );
}