Debuging Flex AIR Desktop Application doesn't hit breakpoints.
I have a flex air desktop appllication project which is managed by maven via flexmojos-maven-plugin. I get stucked when debuging cause the application doesn't pause at breakpoints sometimes(about 40%).
Some background infomations:
1. OS: Windows 7 64bit.
2. IDEA: 2019.3.1 ultimate
3. SDK: jdk 1.8, flex sdk 4.6.0.23201, flex air sdk 3.1
4. Maven: 3.6.1,
5. flexmojos-maven-plugin: 6.0.0
Here is my step:
1. compile the project. (I have tryed both maven and idea way to compile the project)
2. launch the application in debug mode. Then stop the appllication and relaunch.
During my debuging, I have met 3 different situations:
1. everything works fine, the application pauses at breakpoints, and breakpoints show as effected .(60%)

2. the appllication doesn't pause at breakpoints, and breakpoints show as invalied.(10%)

3. the application doesn't paues at breakpoints, and breakpoints show as plain red circle.(30%)

During my debuging, I did not change any code, and did not build/rebuild/compile the project ether.
When application doesn't pause, I just stop the application(by click stop button in toolbar or close button in application) and relaunch again, it may works fine. But most of time I have to remove all breakpoints and then reset them, and then reluanch for several times before it works.
I am pretty sure it`s nothing todo whith the compilation, cause when debuging the application with VS Code works fine everytime.
Dose anyone have met the same problem or any idea to solve it?
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/issues/IDEA with a sample project attached.