[Gammaray-interest] New plugin idea: Event inspector
Christian Gagneraud
chgans at gmail.com
Fri Sep 15 12:40:35 CEST 2017
On 15 September 2017 at 19:56, Richard Moore <rich at kde.org> wrote:
> You may find some inspiration in the code of
> https://api.kde.org/frameworks/kjsembed/html/eventproxy_8h_source.html which
> I wrote a long time back. Basically it was to expose the events to js but
> the concept worked well.
Hi Richard,
Thanks for sharing, I will have a look at your project. There might be
some interesting code/ideas in there, related to what i want to
achieve.
Chris
>
> Cheers
>
> Rich.
>
> On 15 September 2017 at 05:06, Christian Gagneraud <chgans at gmail.com> wrote:
>>
>> Hi there,
>>
>> I'm starting to think seriously about jumping into the gammara world.
>>
>> What I would like to get/do/contribute is a first class citizen event
>> inspector.
>>
>> I won't waste your time with lot of words, so basically i would like
>> to hook on CustomApplication::notify, CustomObject::event and
>> CustomnObject::eventFilter, and store occurrences when some condition
>> matches.
>>
>> Meta-data associated with such occurences:
>> - entry/exit timestamps
>> - nesting level (per thread)
>> - sender object (if one and possible to deduce)
>> - sender thread
>> - receiver object
>> - receiver thread
>> - event payload
>> - filter result
>> - ...
>>
>> The end user should be able to add/remove monitoring conditions,
>> maybe simply based on:
>> - sender thread
>> - receiver object
>> - event type
>>
>> The visualisation would be a tree model (for a given thread), as I am
>> particularly interested in nesting and ordering analysis.
>>
>> I know i'm quite vague, but what do you guys think? Does such a tool
>> already exists? Open source or not? Does that sound something that
>> could be done with gammaray?
>>
>> Chris
>> _______________________________________________
>> Gammaray-interest mailing list
>> Gammaray-interest at mail.kdab.com
>> https://mail.kdab.com/mailman/listinfo/gammaray-interest
>
>
>
> _______________________________________________
> Gammaray-interest mailing list
> Gammaray-interest at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/gammaray-interest
>
More information about the Gammaray-interest
mailing list