mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Bug 98594: Unable to set address breakpoints.
This commit is contained in:
parent
2290223ab3
commit
20da0b9f50
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-06-06 Mikhail Khodjaiants
|
||||||
|
Bug 98594: Unable to set address breakpoints.
|
||||||
|
* CBreakpointManager.java
|
||||||
|
|
||||||
2005-05-24 Mikhail Khodjaiants
|
2005-05-24 Mikhail Khodjaiants
|
||||||
Bug 88558: run-to-line not thread oriented.
|
Bug 88558: run-to-line not thread oriented.
|
||||||
The IRunTo* and IJumpTo* interfaces moved to ICStackFrame.
|
The IRunTo* and IJumpTo* interfaces moved to ICStackFrame.
|
||||||
|
|
|
@ -519,16 +519,16 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
||||||
synchronized ( getBreakpointMap() ) {
|
synchronized ( getBreakpointMap() ) {
|
||||||
ICDIBreakpoint cdiBreakpoint = getBreakpointMap().getCDIBreakpoint( breakpoint );
|
ICDIBreakpoint cdiBreakpoint = getBreakpointMap().getCDIBreakpoint( breakpoint );
|
||||||
if ( cdiBreakpoint == null ) {
|
if ( cdiBreakpoint == null ) {
|
||||||
if ( location instanceof ICDILineLocation ) {
|
if ( breakpoint instanceof ICFunctionBreakpoint ) {
|
||||||
cdiBreakpoint = target.setLineBreakpoint( ICDIBreakpoint.REGULAR,
|
|
||||||
(ICDILineLocation)location, condition, true );
|
|
||||||
} else if ( location instanceof ICDIFunctionLocation ) {
|
|
||||||
cdiBreakpoint = target.setFunctionBreakpoint( ICDIBreakpoint.REGULAR,
|
cdiBreakpoint = target.setFunctionBreakpoint( ICDIBreakpoint.REGULAR,
|
||||||
(ICDIFunctionLocation)location, condition, true );
|
(ICDIFunctionLocation)location, condition, true );
|
||||||
} else if ( location instanceof ICDIAddressLocation ) {
|
} else if ( breakpoint instanceof ICAddressBreakpoint ) {
|
||||||
cdiBreakpoint = target.setAddressBreakpoint( ICDIBreakpoint.REGULAR,
|
cdiBreakpoint = target.setAddressBreakpoint( ICDIBreakpoint.REGULAR,
|
||||||
(ICDIAddressLocation)location, condition, true );
|
(ICDIAddressLocation)location, condition, true );
|
||||||
|
|
||||||
|
} else if ( breakpoint instanceof ICLineBreakpoint ) {
|
||||||
|
cdiBreakpoint = target.setLineBreakpoint( ICDIBreakpoint.REGULAR,
|
||||||
|
(ICDILineLocation)location, condition, true );
|
||||||
}
|
}
|
||||||
if ( !enabled ) {
|
if ( !enabled ) {
|
||||||
cdiBreakpoint.setEnabled( false );
|
cdiBreakpoint.setEnabled( false );
|
||||||
|
|
Loading…
Add table
Reference in a new issue