1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 02:36:01 +02:00

fixed breakpoint creation with new type argument.

This commit is contained in:
Warren Paul 2008-05-29 12:36:43 +00:00
parent 02048cd67f
commit c33ef0d470
3 changed files with 4 additions and 0 deletions

View file

@ -1014,6 +1014,7 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
binary,
sourceHandle,
resource,
ICBreakpointType.REGULAR,
line,
address,
cdiBreakpoint.isEnabled(),

View file

@ -174,6 +174,7 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
CDIDebugModel.createAddressBreakpoint( module,
sourceHandle,
resource,
ICBreakpointType.REGULAR,
((DisassemblyEditorInput)input).getSourceLine( lineNumber ),
address,
true,

View file

@ -15,6 +15,7 @@ import java.math.BigInteger;
import org.eclipse.cdt.core.IAddress;
import org.eclipse.cdt.debug.core.CDIDebugModel;
import org.eclipse.cdt.debug.core.model.ICBreakpointType;
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
import org.eclipse.cdt.debug.core.model.IDisassemblyInstruction;
@ -59,6 +60,7 @@ public class DisassemblyToggleBreakpointAdapter implements IElementToggleBreakpo
null,
"", //$NON-NLS-1$
ResourcesPlugin.getWorkspace().getRoot(),
ICBreakpointType.REGULAR,
-1,
address,
true,