diff options
author | Dani Megert | 2013-03-01 08:34:44 +0000 |
---|---|---|
committer | Dani Megert | 2013-03-01 08:34:44 +0000 |
commit | ea568e9451ef1c56dccf2287837966564aaa7f3c (patch) | |
tree | 2f64f0368bd862b83e3d309b8ce1dbaaebb4167b | |
parent | 6bc48eb217f6a60cd5609708c42d46a5698a0ea7 (diff) | |
download | eclipse.platform.debug-ea568e9451ef1c56dccf2287837966564aaa7f3c.tar.gz eclipse.platform.debug-ea568e9451ef1c56dccf2287837966564aaa7f3c.tar.xz eclipse.platform.debug-ea568e9451ef1c56dccf2287837966564aaa7f3c.zip |
Fixed bug 402043: cannot set breakpoint until Debug perspective has been openedv20130301-083444I20130307-2000I20130306-2330I20130306-2000I20130306-1518I20130306-1318I20130306-1033I20130306-1014I20130306-0836I20130306-0045I20130305-2300I20130305-2000I20130305-1718I20130305-1653I20130305-1032I20130305-0912I20130305-0800I20130304-2000I20130303-2000I20130302-1500I20130301-2000
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java index 4376e1eab..c4a99df8d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2012 Wind River Systems and others. + * Copyright (c) 2008, 2013 Wind River Systems 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 @@ -338,7 +338,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM target = (IToggleBreakpointsTarget) DebugPlugin.getAdapter(element, IToggleBreakpointsTarget.class); } if (target == null) { - target = (IToggleBreakpointsTarget)part.getAdapter(IToggleBreakpointsTarget.class); + target = (IToggleBreakpointsTarget) DebugPlugin.getAdapter(part, IToggleBreakpointsTarget.class); } return target; } |