How to trace events in geWorkbench
From Informatics
How event distribution works
After you publish the events,
private void publish(Object object, Object publisher)
above line in ComponentRegistry.java will try to distribute the event to all the listeners (registered by using subscribe
)
the actual line to call the receive() method in subscribers is
profile.getMethod().invoke(subscriber, object, publisher);
above line is in publishToSubscriberHelper()
in ComponentRegistry.java
so
You can set a break point in
private void publish(Object object, Object publisher)
Or, even if this is not the place you want, at least you have a point to start.