The Problem
Breakpoint in Aspect class in Eclipse doesn't work.
The Solution
For better performance, by default, AspectJ compiler inlines aspect code into methods. This makes the breakpoints in Aspect classes not work.
To fix it, we can install Eclipse AspectJ Development Tools (AJDT).
It can visualize how aspects were affecting classes in a project.
Then Right CLick project --> Properties -> AspectJ Compiler -> Possible Optimizations: Select noinline.
Breakpoint in Aspect class in Eclipse doesn't work.
The Solution
For better performance, by default, AspectJ compiler inlines aspect code into methods. This makes the breakpoints in Aspect classes not work.
To fix it, we can install Eclipse AspectJ Development Tools (AJDT).
It can visualize how aspects were affecting classes in a project.
Then Right CLick project --> Properties -> AspectJ Compiler -> Possible Optimizations: Select noinline.