1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +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, binary,
sourceHandle, sourceHandle,
resource, resource,
ICBreakpointType.REGULAR,
line, line,
address, address,
cdiBreakpoint.isEnabled(), cdiBreakpoint.isEnabled(),

View file

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

View file

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