mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Use the corresponding methods of 'ICBreakpoint' to set breakpoint properties.
This commit is contained in:
parent
90285517de
commit
1c2bf651f9
2 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-11-07 Mikhail Khodjaiants
|
||||
Use the corresponding methods of 'ICBreakpoint' to set breakpoint properties.
|
||||
* CBreakpointManager.java
|
||||
|
||||
2003-11-07 Mikhail Khodjaiants
|
||||
Fix for PR 46303: Exception when selecting Debug... menu.
|
||||
Check if the string passed to the 'getCommonSourceLocationsFromMemento' method is not empty.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
package org.eclipse.cdt.debug.internal.core;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
||||
|
@ -519,11 +518,9 @@ public class CBreakpointManager implements ICBreakpointManager, ICDIEventListene
|
|||
{
|
||||
try
|
||||
{
|
||||
Map attributes = breakpoint.getMarker().getAttributes();
|
||||
attributes.put( ICBreakpoint.ENABLED, new Boolean( cdiBreakpoint.isEnabled() ) );
|
||||
attributes.put( ICBreakpoint.IGNORE_COUNT, new Integer( cdiBreakpoint.getCondition().getIgnoreCount() ) );
|
||||
attributes.put( ICBreakpoint.CONDITION, cdiBreakpoint.getCondition().getExpression() );
|
||||
breakpoint.getMarker().setAttributes( attributes );
|
||||
breakpoint.setEnabled( cdiBreakpoint.isEnabled() );
|
||||
breakpoint.setIgnoreCount( cdiBreakpoint.getCondition().getIgnoreCount() );
|
||||
breakpoint.setCondition( cdiBreakpoint.getCondition().getExpression() );
|
||||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue