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:
parent
bb4f448825
commit
5036521155
2 changed files with 7 additions and 1 deletions
|
@ -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
|
2004-12-01 Mikhail Khodjaiants
|
||||||
Fix for bug 80034: Expressions view does not display correct no. of elements in array.
|
Fix for bug 80034: Expressions view does not display correct no. of elements in array.
|
||||||
* CValueFactory.java
|
* CValueFactory.java
|
||||||
|
|
|
@ -278,7 +278,9 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
||||||
ICDILocation location = ((ICDILocationBreakpoint)cdiBreakpoint).getLocation();
|
ICDILocation location = ((ICDILocationBreakpoint)cdiBreakpoint).getLocation();
|
||||||
if ( location != null ) {
|
if ( location != null ) {
|
||||||
IAddressFactory factory = getDebugTarget().getAddressFactory();
|
IAddressFactory factory = getDebugTarget().getAddressFactory();
|
||||||
return factory.createAddress( location.getAddress() );
|
BigInteger address = location.getAddress();
|
||||||
|
if ( address != null )
|
||||||
|
return factory.createAddress( address );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( CDIException e ) {
|
catch( CDIException e ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue