code: public void debugContextChanged(DebugContextEvent event)
  	{
  		if ((event.getFlags() & DebugContextEvent.ACTIVATED) > 0)
  		{
  			if (fView != null && getProcess()!=null
  					&& getProcess().equals(DebugUITools.getCurrentProcess()))
  			{
  				fView.display(fConsole);
  			}
  		}
  
  	}
docs: /*
  (non-Javadoc)
  @see
  org.eclipse.debug.internal.ui.contexts.provisional.IDebugContextListener#contextEvent(org.eclipse.debug.internal
  .ui.contexts.provisional.DebugContextEvent)