JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.tracing
Class DebuggingWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.tracing.DebuggingWrapper
All Implemented Interfaces:
Serializable

public class DebuggingWrapper
extends Wrapper

This wrapper upcalls the debugger when a method that have to be debugged is called and returns.

See Also:
Debugger, Serialized Form

Field Summary
 Debugger debugger
          The actual debugger.
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
DebuggingWrapper(AspectComponent ac)
          The wrapper constructor.
 
Method Summary
 Object step(Interaction interaction)
          This wrapping method is used to upcall the debugger at each method call.
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debugger

public Debugger debugger
The actual debugger.

Constructor Detail

DebuggingWrapper

public DebuggingWrapper(AspectComponent ac)
The wrapper constructor.

Method Detail

step

public Object step(Interaction interaction)
This wrapping method is used to upcall the debugger at each method call.

Returns:
the return value of the orginal method
See Also:
Debugger.startOfMethod(String,String,String,Object[]), Debugger.endOfMethod(String,String,String,Object[],Object,long)

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli