Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Retaining original StackTrace

Hi All,

I am quite new to AspectJ and trying to us it in one of my projects. Also, I am sure that I am not the first one to face this problem and looking for some guidance to solve this problem. I am  using AspectJ 1.6.12 with LTW. My exception stack trace looks quite different than the stack trace without aspectj advice. I see two problems:

1. The advised method name is getting suffixed with _aroundBodyx (where x is a number).
2. There are some extra lines in stack trace related to pointcuts and advice.

Both of them would create confusion when others are looking at the exception stack trace. I would like to see the original exception
stack trace. What are my options here? I have already tried -XnoInline option that did not help.

It will be very tough to use it in my project without getting this problem fixed. Any guidance will be highly appreciated.

-RS

Back to the top