Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2012-03-19 14:09:31 -0400
committerPawel Piech2012-03-19 14:09:31 -0400
commit54b5e33af4d732b2831762c6bb150ebadcd773cc (patch)
tree97889d81f33854b4e6d22b777bbad8c23de5b371 /debug/org.eclipse.cdt.debug.ui/src/org
parentdd069579ac0131db85c7673c43556ecbb9b7432b (diff)
downloadorg.eclipse.cdt-54b5e33af4d732b2831762c6bb150ebadcd773cc.tar.gz
org.eclipse.cdt-54b5e33af4d732b2831762c6bb150ebadcd773cc.tar.xz
org.eclipse.cdt-54b5e33af4d732b2831762c6bb150ebadcd773cc.zip
Bug 360588 - [breakpoints] Allow user to edit all its properties prior to creating the breakpoint
Fix CToggleMethodBreakpointActionDelegate to use correct create breakpoint method.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/src/org')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CToggleMethodBreakpointActionDelegate.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CToggleMethodBreakpointActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CToggleMethodBreakpointActionDelegate.java
index 85c8d91469..37aa40ad27 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CToggleMethodBreakpointActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CToggleMethodBreakpointActionDelegate.java
@@ -37,9 +37,9 @@ public class CToggleMethodBreakpointActionDelegate extends CToggleBreakpointObje
{
if ((event.stateMask & SWT.MOD1) != 0 &&
target instanceof IToggleBreakpointsTargetCExtension &&
- ((IToggleBreakpointsTargetCExtension)target).canCreateLineBreakpointsInteractive(part, selection))
+ ((IToggleBreakpointsTargetCExtension)target).canCreateFunctionBreakpointInteractive(part, selection))
{
- ((IToggleBreakpointsTargetCExtension)target).createLineBreakpointsInteractive(part, selection);
+ ((IToggleBreakpointsTargetCExtension)target).createFunctionBreakpointInteractive(part, selection);
}
else {
target.toggleMethodBreakpoints(part, selection);

Back to the top