[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cdt-dev] How to issue a SuspendedEvent?
- From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
- Date: Mon, 2 Apr 2012 11:49:45 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: email@example.com
- Thread-index: Ac0Q5YhljS9icXauSEyVQwujyN+dEAAAltvw
- Thread-topic: [cdt-dev] How to issue a SuspendedEvent?
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Jason Litton
> Sent: Monday, April 02, 2012 11:30 AM
> To: CDT General developers list.
> Subject: [cdt-dev] How to issue a SuspendedEvent?
> Hi all,
> I spoke with Marc a bit at the CDT Summit about this, but
> looking at the code, I can't figure out how to make it work.
> I'm trying to force a stackframe update after issuing a
> command through an AbstractMIControl. Marc said that I would
> need to issue a SuspendedEvent, but I only see those as inner
> classes. So, how do I issue a new SuspendedEvent so that the
> stackframes will update? And who does it go to?
Yes, the Suspended events are part of the RunControl service.
If you want to send an ISuspendedDMEvent for some other reason,
you can create a new class that implements ISuspendedDMEvent
and dispatch it using the DSF session.
The ISuspendedDMEvent is being listen for in different places
where the UI will then be updated.
Hope this helps