Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] querying the "active" CDI thread

Not really. Let see if I can explain this better.

The Debug view provides a thread context, right? The notion of the "active thread" (my words). Visually, this is the thread that is selected in the view. That thread should provide the context for the Variables and source views, for example. This is my understanding; perhaps it's incomplete or flat out incorrect, but that's what I'm basing my question on.

I'm trying to find out if I can get the CDI object corresponding to that thread in a global way. I suppose I could look at how some CDT views work, if indeed there are any that work off the active thread context. But I'm assuming that context is passed to the view from the platform--a top down approach. I'm looking at it from the perspective of isolated code. In some code in my plugin, I want to access the CDI thread for the active thread in the Debug view. This is a global state, so there should be a global way to access it.

Does that make any more sense?

John

At 10:25 AM 12/9/2005, Mikhail Khodjaiants wrote:
John,

Do you want to access to the underlying CDI thread object from an instance of IThread? Is this what you mean?

Mikhail
----- Original Message ----- From: "John Cortell" <john.cortell@xxxxxxxxxxxxx>
To: "CDT Debug developers list" <cdt-debug-dev@xxxxxxxxxxx>
Sent: Friday, December 09, 2005 7:05 AM
Subject: [cdt-debug-dev] querying the "active" CDI thread


From within a CDI-extension plugin, is there a global way to query the
CDI
thread object associated with the "active" thread, as per the selection
in
the Debug view?

John

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev



Back to the top