I have a project I am working on that was created in CS5.5 targeting iOS. The SWF has a lot of content, but no code and the .AS file has all the code except for a few utility functions. I just updated to CS6 and now debugging no longer works as expected. When I run the app in Debug - whether using the mobile or desktop Air debugger environments, it fails to recognize the .AS file as having executable code in it. In CS5.5, when I did this, the AS file would open and I could set and clear breakpoints. Now, if I go to the file and try to toggle a breakpoint, it shows "No exectuable code..." no matter where I set the breakpoint. The app is running fine, but it acts like there is no link between the source file and the app.

The app builds and runs fine - I just can't debug it. Help!

I am sure this is some stupid little thing I haven't done, but since I changed nothing between CS5.5 and CS6, I have no idea where to look.

Are you putting a breakpoint on something that isn't code, like a empty line, a brace, etc? Try altering that to be on a line that has code on it. (I know we should be able to set breakpoints anywhere, but I'm curious).

e.g.

for (var i:int = 0; i < 100; i++)// set a breakpoint here

{// do not set a breakpoint here

// do not set a breakpoint here

trace(i);// set a breakpoint here

}// do not set a breakpoint here

I'm wondering if it considers empty lines, braces and other things to be invalid for a breakpoint location.

I've downloaded a fresh trial copy from Cloud of Flash CS6 (version.12.0.0.481). I confirm Flash CS5 debugging is working fine but not of CS6 - I have no idea why its not working at all with this newly released version. Breakpoint never occurs nor the project debugs at all.

Yes, I noticed that, and I tried to update it to the most latest too. But troublesome - my internet or network here - I couldn't manage to complete the update process even, so I moved to MacOS installation of Flash CS6. With my MacOS its running properly as expected (debugging has no problem) - I'm not using Windows' one anymore, I moved to MacOS.