Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-12-08 09:43:03 -0500
committerAndrey Loskutov2017-12-08 09:43:03 -0500
commit7d75d4aa1c52af05b3c66cb6c7d09df86b12b83c (patch)
tree29cc7aba8b81c8e6fb71279cc06b6fe9a70f4879 /org.eclipse.debug.ui/ui
parentf06c28d1f9e8be37aa0f45c5a79eb22c0ef9c04f (diff)
downloadeclipse.platform.debug-7d75d4aa1c52af05b3c66cb6c7d09df86b12b83c.tar.gz
eclipse.platform.debug-7d75d4aa1c52af05b3c66cb6c7d09df86b12b83c.tar.xz
eclipse.platform.debug-7d75d4aa1c52af05b3c66cb6c7d09df86b12b83c.zip
Bug 528321 - Log error if unable to toggle breakpoint
Just added logging to find the root cause of bug 528321. Change-Id: I220eb45070096fa5d4ef40cff3936eddb32ae8f9 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java
index 0078ad31e..a51f57142 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java
@@ -148,7 +148,8 @@ public class ToggleBreakpointAction extends Action implements IUpdate {
* @param e underlying exception
*/
private void reportException(Exception e) {
- DebugUIPlugin.errorDialog(fPart.getSite().getShell(), ActionMessages.ToggleBreakpointAction_1, ActionMessages.ToggleBreakpointAction_2, e); //
+ DebugUIPlugin.log(e);
+ DebugUIPlugin.errorDialog(fPart.getSite().getShell(), ActionMessages.ToggleBreakpointAction_1, ActionMessages.ToggleBreakpointAction_2, e);
}
/**

Back to the top