Trying to step through some Java code, I could not get some breakpoints to work.
OurObject o = new OurObject(); // a breakpoint here works
class OurObject { OurObject() { // breakpoint in here is ignored, although I can step into the code // (Its not throwing an exception) }
public actionPerformed() { // this breakpoint was ignored, too } }
the OurObject class is in the same file as the code that uses it.
<5 minutes later> Now, as soon as I wrote his message the damn thing stated working again. After I spent an hour fiddling with preferences and reading past postings to the xcode-users list. (Is that causality, or what?)
All I can figure is that I tried changing the OurObject class to private, then changed my mind and removed the "private" keyword, rebuilt and now the breakpoints work.
<3 minutes later> And now its AFU'ed again. All I did was remove the breakpoint in the actionPerformed method and re-build-debug, and now the (reset) breakpoints are ignored.
What the hell is going on here?
|