Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
index 6bd823b9f1..36dd1a398b 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
@@ -515,18 +515,21 @@ public class GdbThreadFilterEditor {
@Override
protected void handleSuccess() {
final StringBuilder builder = new StringBuilder(Messages.GdbThreadFilterEditor_Thread);
- builder.append("["); //$NON-NLS-1$
+ builder.append(" #"); //$NON-NLS-1$
builder.append(((IMIExecutionDMContext)thread).getThreadId());
- builder.append("] "); //$NON-NLS-1$
- String threadId = getData().getId();
- if (threadId != null) {
- builder.append(threadId);
- }
+
String threadName = getData().getName();
if (threadName != null) {
+ builder.append(" ["); //$NON-NLS-1$
builder.append(threadName);
+ builder.append("] "); //$NON-NLS-1$
}
+ String threadId = getData().getId();
+ if (threadId != null) {
+ builder.append(threadId);
+ }
+
rm.setData(builder.toString());
rm.done();
}

Back to the top