1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

Bug 459688 - Label in breakpoint thread filter dialog should match debug

view 

Change-Id: I3d74c3316f5acbf2b6aadc0b6e99e7081384f401
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2015-02-11 11:12:46 -05:00
parent 7f377190a8
commit 0e041e8e86

View file

@ -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 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);
}
String threadName = getData().getName();
if (threadName != null) {
builder.append(threadName);
}
rm.setData(builder.toString());
rm.done();
}