Package net.zero.smarttrace.core.data.events

Examples of net.zero.smarttrace.core.data.events.EMethodExitEvent


   * @param event
   * @return
   */
  public EMethodExitEvent createMethodExitEvent(MethodExitEvent event)
    {
    EMethodExitEvent ret=new EMethodExitEvent();
   
    currentEEvent = ret;
    currentEvent = event;
   
    loadEventTimeData(ret);
    loadStackTraceLocation(ret, event.thread());
   
    if(!ret.getStackFrameLocation().getStackFrame().getMethod().isReturnVoid())
      try{
      ret.setReturnValue(getValue(event.returnValue()));
      }catch(UnsupportedOperationException e){System.out.println("No se puede obtener valores de retorno");}
   
    //aun hay stack
    //if(ret.getStackFrameLocation().getStackFrame().getPreviousStackFrameLocation()!=null)
      {
      //actualStackFrameLocation4Thread.put(ret.getStackFrameLocation().getStackFrame().getThread().getName(), ret.getStackFrameLocation().getStackFrame().getPreviousStackFrameLocation());
      popST(ret.getStackFrameLocation().getStackFrame().getThread());
      }
    //se finalizo el hilo
    //else
      //actualStackFrameLocation4Thread.remove(ret.getStackFrameLocation().getStackFrame().getThread().getName());
   
View Full Code Here

TOP

Related Classes of net.zero.smarttrace.core.data.events.EMethodExitEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.