Breakpoints not hit in Flex mobile app
I just setup IntelliJ for my mobile application and have been having trouble with my breakpoints hitting. On one launch of my app the breakpoints had the green check inside them signifying they were valid, and the debugger worked great. Every launch before or after that launch has not worked, and my breakpoints simply show a red circle. Are there any specific steps I need to do when running an application to make sure the breakpoints work?
I'm running the latest version of IntelliJ, Flex 4.10.0, on an iPad running iOS 7.
Thanks!
Please sign in to leave a comment.
I need some more info to evaluate the issue:
1. Full content of the Debug Console
2. Debugger logs. To get logs please do following:
After that please attach log file here.
Debug Console:
Thanks
Attachment(s):
idea.log.zip
Nothing wrong in logs (except that debugger tool from Flex SDK says that it doesn't know your classes and can't set breakpoints there).
Are you sure that SWF is compiled with debugging enabled?
I'm not sure- I'm new to IntelliJ. Is there something special I need to do to make sure it compiles for debugging? I haven't noticed a pattern yet of why sometimes I can debug and sometimes I can't. Even when I can't debug, the console is still showing trace statements.
Thanks
If you compile SWF using IntelliJ IDEA then by default debugging is ON. It is controlled by 'Generate debuggable SWF' option at Project Structure | Modules | [your module] | [your build configuration subnode] | Compiler Options tab.
That means that your SWF contains debug info and the problem is in the debugger tool (FDB) from the Flex SDK (IntelliJ IDEA uses it).
IntelliJ IDEA 13 EAP contains a patch for FDB tool that probably fixes the issue, can you please try it?
I've been using IntelliJ IDEA 13 EAP all day today and debugging is consistently working now.
Thanks a lot!