|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.AspectComponent | +--org.objectweb.jac.aspects.tracing.DebuggingAC
Implements a simple debugging aspect for JAC applications. The
actual functionalities of the debugging are externalized within the
Debugger
class.
Here is a sample configuration file that steps all the methods
that modify the instances of class A
and
B
, excepted the setter for the field called f.
step ".*" "A || B" "MODIFIERS && !SETTER(f)"
DebuggingWrapper
,
Debugger
,
Serialized FormField Summary |
Fields inherited from class org.objectweb.jac.core.AspectComponent |
application, blockKeywords, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers |
Fields inherited from interface org.objectweb.jac.core.BaseProgramListener |
FOUND_OBJECT |
Constructor Summary | |
DebuggingAC()
|
Method Summary | |
void |
step(String objects,
String classes,
String methods)
This configuration method allows the programmer to define the set of objects, classes, and methods that must be stepped when a method is invoked. |
void |
stepAll()
This configuration method must be used if the programmer wants to step ALL the methods of all the applications objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DebuggingAC()
Method Detail |
public void step(String objects, String classes, String methods)
objects
- a pointcut expression on the name of the debugged
objectsclasses
- a pointcut expression on the name of the debugged
classesmethods
- a pointcut expression on the name of the debugged
methodspublic void stepAll()
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |