Not sure how many folks may have hit this, but I thought I'd share my experiences for the record. First off, there are a few different cases where breakpoints might not get called in your app; at least one bug around this has been fixed in 2.0.1, but in my case it boiled down to something between user error and Flex builder letting me do something it shouldn't have.
I'm working on an enterprise J2EE application, and I felt it would be a bit presumptious to have my application file in the top folder and my source underneath there starting with "com", when everybody else is happy regulating themselves to such folders as "src", "db", "docs", etc. So instead I made a "flex" folder and moved my application and source tree under it. Being at least not a complete dimwit (no comments, please), I went into my run/debug profile and re-selected my application file, in its new folder, in the Application File dropdown. I was concerned that FB might not pick up the source, but you know what? It compiled and ran perfectly. Until I tried to set a breakpoint. Turns out I did the right thing in a completely wrong way and probably had Mike Morearty banging his head on his keyboard (see the support thread here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=582&threadid=1203605&enterthread=y ). He couldn't believe my app was running at all; the reason he was perplexed was because, in my project properties -> build path, the "Main source folder" was empty. I didn't empty it ought myself, of course--I'm not masochistic. I don't know if it was always empty or just got that way because I was being naughty. Apparently the builder will assume, at least if the source path is empty, that your source path is the same folder as your application file. But apparently the debugger will not, and it therefore never sees your app get to the breakpoint because it has no source associated with it. I made the correct entry for source path and, voila, back in business. Anyway, just wanted to share the experience in case it can help somebody else down the road. Cheers, Chris Luebcke

