Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2020-06-18 03:07:07 +0000
committerEugene Tarassov2020-06-18 16:33:51 +0000
commit146985f952ee4b92fe4c61d5939f42fc00ca04c4 (patch)
tree4a262d67b637232b76da18b648ffb89fee5aaa1e
parentd043a72dc1267ab573f976c13e5f98f76607b6f7 (diff)
downloadorg.eclipse.tcf-146985f952ee4b92fe4c61d5939f42fc00ca04c4.tar.gz
org.eclipse.tcf-146985f952ee4b92fe4c61d5939f42fc00ca04c4.tar.xz
org.eclipse.tcf-146985f952ee4b92fe4c61d5939f42fc00ca04c4.zip
TCF Debugger: better display of register descriptions
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModelProxy.java3
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeRegister.java2
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModelProxy.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModelProxy.java
index 888cf0d4f..17c10d425 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModelProxy.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModelProxy.java
@@ -571,7 +571,8 @@ public class TCFModelProxy extends AbstractModelProxy implements IModelProxy, Ru
if (viewer instanceof IInternalTreeModelViewer) {
try {
found = ((IInternalTreeModelViewer)viewer).findElementIndex(TreePath.EMPTY, launch) >= 0;
- } catch (SWTException e) {
+ }
+ catch (SWTException e) {
// viewer is already disposed
return;
}
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeRegister.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeRegister.java
index cc2081fee..225573a4e 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeRegister.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeRegister.java
@@ -275,7 +275,9 @@ public class TCFNodeRegister extends TCFNode implements IElementEditor, IWatchIn
}
IRegisters.RegistersContext ctx = context.getData();
if (ctx != null) {
+ bf.append(ctx.getName(), SWT.BOLD);
if (ctx.getDescription() != null) {
+ bf.append(": ");
bf.append(ctx.getDescription());
bf.append('\n');
}

Back to the top