Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Can't seem to break in around advice
Can't seem to break in around advice [message #588381] Wed, 25 May 2005 15:20
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
In the following code, I set a breakpoint at the first line in the around advice. The advice gets executed, but the breakpoint never hits:

void around() : log4jLoggingInit() {
PropertyConfigurator.configureAndWatch("log4j.properties", 1000);
}


If I change the advice to invoke a method, and set the breakpoint on the first line of the method, the breakpoint /does/ get hit:

void around() : log4jLoggingInit() {
initLogging();
}
private void initLogging() {
PropertyConfigurator.configureAndWatch("log4j.properties", 1000);
}

Has anyone else experienced similar problems?

-barry
Previous Topic:Weaving aspects into an existing plugin
Next Topic:AJDT development build for Eclipse 3.1M7
Goto Forum:
  


Current Time: Thu Apr 25 02:29:03 GMT 2024

Powered by FUDForum. Page generated in 0.02736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top