mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 17:55:39 +02:00
Fix for bug 73498: Condition is cleared when disabled conditional breakpoint is set.
This commit is contained in:
parent
dae6b18551
commit
81400bdcc2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-09-07 Mikhail Khodjaiants
|
||||||
|
Fix for bug 73498: Condition is cleared when disabled conditional breakpoint is set.
|
||||||
|
* CBreakpointManager.java
|
||||||
|
|
||||||
2004-09-07 Alain Magloire
|
2004-09-07 Alain Magloire
|
||||||
Remove ICDIBreakpointManager.java
|
Remove ICDIBreakpointManager.java
|
||||||
Remove ICDICatchEvent/ICDICatchpoint
|
Remove ICDICatchEvent/ICDICatchpoint
|
||||||
|
|
|
@ -292,9 +292,10 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
||||||
if ( cdiBreakpoint == null )
|
if ( cdiBreakpoint == null )
|
||||||
return;
|
return;
|
||||||
breakpoint.setTargetFilter( getDebugTarget() );
|
breakpoint.setTargetFilter( getDebugTarget() );
|
||||||
if ( !breakpoint.isEnabled() )
|
boolean enabled = breakpoint.isEnabled();
|
||||||
cdiBreakpoint.setEnabled( false );
|
|
||||||
setBreakpointCondition( breakpoint );
|
setBreakpointCondition( breakpoint );
|
||||||
|
if ( !enabled )
|
||||||
|
cdiBreakpoint.setEnabled( false );
|
||||||
}
|
}
|
||||||
catch( CoreException e ) {
|
catch( CoreException e ) {
|
||||||
requestFailed( MessageFormat.format( InternalDebugCoreMessages.getString( "CBreakpointManager.0" ), new String[] { e.getMessage() } ), e ); //$NON-NLS-1$
|
requestFailed( MessageFormat.format( InternalDebugCoreMessages.getString( "CBreakpointManager.0" ), new String[] { e.getMessage() } ), e ); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue