Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Thread names in CDT debug view?

The "org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation" class is
responsible of rendering the thread labels. It is an extension of the
"org.eclipse.debug.ui.debugModelPresentations" extenion point. It uses the
"getName()" method of the "IThread" interface to retrieve the thread name.

----- Original Message -----
From: "Stefan Bylund" <steby@xxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Thursday, January 08, 2004 6:53 AM
Subject: [cdt-debug-dev] Thread names in CDT debug view?


> The standard CDT debug view shows the GDB thread IDs of the debugged
application
> (e.g. "Thread[7] (Suspended)"). Instead of showing the GDB thread IDs, I
want to
> show the thread names (e.g. "Thread[<threadname>] (Suspended)") as is done
in
> the standard JDT debug view for Java threads. This is much more useful if
the
> target OS supports thread naming and you have a large amount of threads in
your
> application. Is there an extension point for this purpose? If not, which
CDT
> method(s) should I modify to get this behaviour?
>
> /Stefan
>
>



Back to the top