Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Listening to DebugEvents (problem)
Listening to DebugEvents [message #903034] Tue, 21 August 2012 13:33 Go to previous message
ben agai is currently offline 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 13:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Eclipse doesn't deploy web application automatically
Next Topic:unable to open a .bat file through .launch in eclipse
Goto Forum:
  


Current Time: Sat May 25 20:01:08 EDT 2013

Powered by FUDForum. Page generated in 0.01621 seconds