[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Good Techniques of Tracing
|
I can't see anything wrong with it. Is your setup correct? You might
want to try the pointcut doctor: http://pointcutdoctor.cs.ubc.ca/
Eric
On 11/07/07, ramilani12 <ramilani@xxxxxxxxx> wrote:
Hello Guys
I have problem with pointcut
I try to capture any method this Class: ArquivoTcs
I try this:
pointcut traceMethods1(): execution(* ArquivoTcs.*(..) ) || call(*
ArquivoTcs.*(..))
&& !within(TraceAspect);
before(): traceMethods1()
{
if ( log.isEnabledFor(Level.INFO) )
{
Signature sig = thisJoinPointStaticPart
.getSignature();
log.log(Level.INFO , "Entering [
"+sig.getDeclaringType().getName()+" .
"+sig.getName()+"]");
}
}
But failed , nothing captured I don´t understand this problem because I
specify this any execution or call method Class ArquivoTcs
How could captured any execution or call method this class ArquivoTcs?
Hug
--
raphael milani
:=]
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada