Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » DebugPlugin.getDefault().addDebugEventListener (Problem occured in Helios)
icon14.gif  DebugPlugin.getDefault().addDebugEventListener [message #548813] Fri, 23 July 2010 03:32
Eclipse UserFriend
Hi,

I am using code like below to recevie the event from one of the wst wizard:-

DebugPlugin().getDefault().addDebugEventListener(

new IDebugEventSetListener(){

public void handleEventListener(final DebugEvent[] events){

final IProcess process = getLaunch().getProcesses[0];

for(final DebugEvent event : events){

if(!process.equals(event.getSource())){
continue;
}

if(event.getkind()==DebugEvent.TERMINATE){
notifyCommandFinished();
debug.removeDebugEventListener();
break;
}
}

}
);

This code was working in Galelio but not working in Helios.Can someone tell me what got changed in Helios.Thank you in advance for help.

[Updated on: Fri, 23 July 2010 03:34] by Moderator

Previous Topic:Struggling with IEditorInput
Next Topic:0 references in workspace
Goto Forum:
  


Current Time: Sun Aug 31 10:57:18 EDT 2025

Powered by FUDForum. Page generated in 0.04448 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top