diff options
author | Andrey Loskutov | 2017-12-08 14:43:03 +0000 |
---|---|---|
committer | Andrey Loskutov | 2017-12-08 14:43:03 +0000 |
commit | 7d75d4aa1c52af05b3c66cb6c7d09df86b12b83c (patch) | |
tree | 29cc7aba8b81c8e6fb71279cc06b6fe9a70f4879 | |
parent | f06c28d1f9e8be37aa0f45c5a79eb22c0ef9c04f (diff) | |
download | eclipse.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>
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java | 3 |
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); } /** |