Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » DebugPlugin.getDefault().addDebugEventListener (Problem occured in Helios)
icon14.gif  DebugPlugin.getDefault().addDebugEventListener [message #548813] Fri, 23 July 2010 07:32
Ajay Tiwari is currently offline Ajay TiwariFriend
Messages: 9
Registered: February 2010
Junior Member
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 07:34]

Report message to a moderator

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


Current Time: Fri Apr 19 20:51:00 GMT 2024

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

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

Back to the top