Listening to DebugEvents [message #903034] |
Tue, 21 August 2012 17:33 |
ben agai Messages: 36 Registered: July 2012 |
Member |
|
|
hi.
i am trying to listen to debug events through implementing the IDebugEventSetListener interface.
this is my implemention of the handleDebugEvent method:
@Override
public void handleDebugEvents(DebugEvent[] events) {
System.out.println("hello");
}
but for some reason after adding my class as debug event listner through the command:
DebugPlugin.getDefault().addDebugEventListener(class name);
for every debug event(like suspend,step into buttons,etc) the handleDebugEvent method is occuring more than one time, can someone explain to me why is this happening and or how to fix it?, thanks.
p.s
i am sorry if i posted in the wrong fourm, so if i did please direct me to the right one.
[Updated on: Tue, 21 August 2012 17:34] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05423 seconds