1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

Partial fix for bug 77444: CDT does not handle address breakpoints across sessions.

This commit is contained in:
Mikhail Khodjaiants 2004-12-02 23:44:01 +00:00
parent bb4f448825
commit 5036521155
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-12-01 Mikhail Khodjaiants
Partial fix for bug 77444: CDT does not handle address breakpoints across sessions.
* CBreakpointManager.java
2004-12-01 Mikhail Khodjaiants
Fix for bug 80034: Expressions view does not display correct no. of elements in array.
* CValueFactory.java

View file

@ -278,7 +278,9 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
ICDILocation location = ((ICDILocationBreakpoint)cdiBreakpoint).getLocation();
if ( location != null ) {
IAddressFactory factory = getDebugTarget().getAddressFactory();
return factory.createAddress( location.getAddress() );
BigInteger address = location.getAddress();
if ( address != null )
return factory.createAddress( address );
}
}
catch( CDIException e ) {