Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2015-01-07 13:14:28 +0000
committerAnton Leherbauer2015-01-07 13:14:28 +0000
commitbc754f8d4c2347235503d1fadddeb7b072365fe8 (patch)
tree5104426dcf2e18ff4f254ad720d0e32c01df94a5
parentfed1bc58e25bbb283706ac2eaac003f3b017e9f1 (diff)
downloadorg.eclipse.tcf-bc754f8d4c2347235503d1fadddeb7b072365fe8.tar.gz
org.eclipse.tcf-bc754f8d4c2347235503d1fadddeb7b072365fe8.tar.xz
org.eclipse.tcf-bc754f8d4c2347235503d1fadddeb7b072365fe8.zip
TCF Debugger: Bug 456905 - Creating a line breakpoint in the disassembly creates BP marker twice
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFDisassemblyToggleBreakpointAdapter.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFDisassemblyToggleBreakpointAdapter.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFDisassemblyToggleBreakpointAdapter.java
index c09b0e9a6..6e23295e9 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFDisassemblyToggleBreakpointAdapter.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFDisassemblyToggleBreakpointAdapter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,7 +23,7 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IWorkbenchPart;
/**
- * Toggles a TCF Scoped breakpoint in a C/C++ editor.
+ * Toggles a TCF Scoped breakpoint in the disassembly view.
*/
public class TCFDisassemblyToggleBreakpointAdapter extends AbstractDisassemblyBreakpointsTarget {
@@ -45,8 +45,6 @@ public class TCFDisassemblyToggleBreakpointAdapter extends AbstractDisassemblyBr
@Override
protected void createLineBreakpoint( String sourceHandle, IResource resource, int lineNumber ) throws CoreException {
- CDIDebugModel.createLineBreakpoint(
- sourceHandle, resource, getBreakpointType(), lineNumber, true, 0, "", true ); //$NON-NLS-1$
Map<String, Object> attributes = TCFToggleBreakpointAdapter.getDefaultAttributes(fTogglePart, TOGGLE_TYPE);
ICLineBreakpoint lineBp = CDIDebugModel.createBlankLineBreakpoint();
CDIDebugModel.setLineBreakpointAttributes(

Back to the top