
Originally Posted by
jgooroo
OK, so I removed the @Component from MyManagerImpl.java. I have breakpoints set at the call to SpringInit.init() where my debugger stops first, and also inside that method where, if I hit F9 (using IntelliJ), it should stop next.
I also set a breakpoint in MyManagerImpl.setInjectedOne() and a breakpoint inside the method MyManagerImpl.afterPropertiesSet().
I hit the first two breakpoints but I never hit the setter or afterPropertiesSet. It goes off into Spring IoC land and never comes back. I have try/catch everywhere but no exception.
not sure what is going on, and I can't analyze it. Are my expectations correct that I should be able to hit a break point inside the setter and inside afterPropertiesSet() ?