Idea 9.0 - Flash Debugger Hangs (AIR) Follow
All,
I posted this in the EAP discussions by mistake...Sorry!
I am trying to build an AIR application. Everything worked fine when it was a standard flash application (No File/SQLite classes).
When debugging, the debugger hangs all over even with no breakpoints set. If I use trace() statements, I can get it to hang while in the middle of tracing an XML variable!
I attach a log file to help...I hope!
Lewis
Attachment(s):
flex hang idea.log.zip
Please sign in to leave a comment.
A little more info:-
I have a class that has [Bindable] on the class and two properties that have getters only.
[Bindable]
class A
public function get prop1():String
public function get prop2():String
class B
[Bindable]
var var1():A
...code elsewhere
b.var1.prop1
when I set var1 in class B it hangs....
If I add empty setters to class A. It does not hang.
I have not tested this on a simple application! This is only what I have found in my application. There may be other reasons for the hangs, but this is one example hopefully repeatable!
Lewis
Hi,
Does trace contents appear in debugger console?
idea.log file shows that you started and stopped the debugger.
Can you press pause when your application seems to hang?
On 13.01.2010 14:38, Lewis Henderson wrote:
>
>
>
>
>
>
>
>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Pressing pause has no effect. I can stop or kill the application only.
Adding dummy setters reduces the hangs. It still hangs part way through a trace statement though!
I get some warnings about being unable to bind to propertyies and some of my own trace() messages in the console window. However it hangs on some trace statements every time.
The log shows the app starting, running, and then it hangs. I did a stop to close it that time.
Lewis
The following code hangs after printing '14' to the console
var msg:String = "";
for (var i:int = 0;i < 100; i++){
trace(i);
msg += ".";
trace(msg);
}
The following code hangs
var xml:XML = describeType(model);
trace(xml);
after printing :-
[trace] <type name="com.cf.definer.view.common.model.impl::ConfigurationManagementPresentationModel" base="Object" isDynamic="false" isFinal="false" isStatic="false">
[trace] <extendsClass type="Object"/>
Lewis
I have a log file that has loads of errors in it from the last couple of days...
Lewis
Attachment(s):
idea.log.zip
Try to launch your application with fdb, does it hang?
On 13.01.2010 14:38, Lewis Henderson wrote:
>
>
>
>
>
>
>
>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
The application worked and debugged correctly under fdb as it was a flash application then.
It is now an AIR application and requires air classes such as File and SQLite. I have to run it under adl.
I will give that a try....
Lewis
Yes. It works under adl. It outputs all the trace stuff without hanging.
Lewis
Seems to be http://youtrack.jetbrains.net/issue/IDEADEV-42201 (given
your log file contents), could you please check sources configured
properly for your SDK?
On 13.01.2010 16:22, Lewis Henderson wrote:
>
>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
...good try!
I get a hang without breakpoints. I use flexmojos to set up my project. The SDK is 'compiler-3.4.0.9271.pom'. I use the config-report.xml generated by a maven build as my custom compiler configuration file. I use -Xmx384m -Dsun.io.useCanonCaches=false as Program parameters.
Lewis
Thank you for investigating! I have reproduced the issue and opened http://youtrack.jetbrains.net/issue/IDEADEV-42206