Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] infinite recursion warning with cflow

Hi Eric, all,

A naive question on this: what is the reason why tracematches don't make it into the AspectJ language? they seem to offer simple answer to many issues that pop up. Has this been discussed already?

Cheers,

-- Éric


On Sep 29, 2008, at 10:43 , Eric Bodden wrote:

Hi Alex.

Using the AspectBench Compiler you can write a tracematch that does
that. Using plain AspectJ that's hard to do. You would have to use a
combination of pieces of advice, if-pointcuts and counters.

Eric

2008/9/29 Alex Villazon <alex.villazon@xxxxxxxxxxx>:
Hi,
Is it possible to write an aspect that prints a message after a giving
number of recursive invocations.. and warns that there is a potential
infinite recursion?

Or is there any mean to check for example if there is a given sequence of
calls in the control flow?

Can I write a pointcut that captures the control flow only when X.f was
called 3 times before Y.g?

Many thanks

Alex

_______________________________________________
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
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top