Can't seem to break in around advice [message #588381] |
Wed, 25 May 2005 15:20 |
Barry Kaplan 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
|
|
|
Powered by
FUDForum. Page generated in 0.02736 seconds