question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

aspects not work for me

See original GitHub issue

Hello. I’m new in AOP and your plugin is the first try to use AspectJ. I do all like in your guide but not see that my aspect work .

I have TestAspectJ.aj file in …\app\src\main\aspectj\com\example\aspectj :

package com.example.aspectj;

aspect TestAspectJ{

     pointcut  helloAscpectJ(): execution ( * *(..) );

     before():helloAscpectJ()
     {
        System.out.println("testAspectJ hello");
     }
}

plugin settings:

aspectj {
    binaryWeave true
    weaveTests false
    exclude "com.example.aspectj"
    weaveInfo true
    addSerialVersionUID true
    ignoreErrors true
}

In android studio “Android monitor” window I do not see any messages like “testAspectJ hello” when use my andorid app.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ardmncommented, Jun 27, 2016

v1.3.2 looks like work fine for me . Thank you 😃

0reactions
ardmncommented, Jun 24, 2016

I’ll try it on Monday on a real project and I’ll give you feedback

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring aop aspects not executing - Stack Overflow
Spring aspects annotations (before, after, etc) are not executing. I have no compilation problems, "test!!!" is being printed every time I ...
Read more >
Spring AOP Example Tutorial - Aspect, Advice, Pointcut ...
Pointcut: Pointcut is expressions that are matched with join points to determine whether advice needs to be executed or not. Pointcut uses ...
Read more >
Aspect Oriented Programming with Spring Boot - Niels.nu
Aspect Oriented Programming. In the project I'm working on we use Spring AOP for monitoring external service calls and repository calls.
Read more >
Unable to get any Aspects? : r/deadcells - Reddit
For me it works only if I enter training room and then exit and got to doctor. Otherwise don't get any prompt to...
Read more >
Why Choose the Social Work Profession - NASW
If you're looking for a career with meaning, action, diversity, satisfaction, and a variety of options, consider social work.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found