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:
parent
02048cd67f
commit
c33ef0d470
3 changed files with 4 additions and 0 deletions
|
@ -1014,6 +1014,7 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
|
|||
binary,
|
||||
sourceHandle,
|
||||
resource,
|
||||
ICBreakpointType.REGULAR,
|
||||
line,
|
||||
address,
|
||||
cdiBreakpoint.isEnabled(),
|
||||
|
|
|
@ -174,6 +174,7 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
|
|||
CDIDebugModel.createAddressBreakpoint( module,
|
||||
sourceHandle,
|
||||
resource,
|
||||
ICBreakpointType.REGULAR,
|
||||
((DisassemblyEditorInput)input).getSourceLine( lineNumber ),
|
||||
address,
|
||||
true,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue