mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +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
|
||||
Remove ICDIBreakpointManager.java
|
||||
Remove ICDICatchEvent/ICDICatchpoint
|
||||
|
|
|
@ -292,9 +292,10 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
|||
if ( cdiBreakpoint == null )
|
||||
return;
|
||||
breakpoint.setTargetFilter( getDebugTarget() );
|
||||
if ( !breakpoint.isEnabled() )
|
||||
cdiBreakpoint.setEnabled( false );
|
||||
boolean enabled = breakpoint.isEnabled();
|
||||
setBreakpointCondition( breakpoint );
|
||||
if ( !enabled )
|
||||
cdiBreakpoint.setEnabled( false );
|
||||
}
|
||||
catch( CoreException e ) {
|
||||
requestFailed( MessageFormat.format( InternalDebugCoreMessages.getString( "CBreakpointManager.0" ), new String[] { e.getMessage() } ), e ); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue