Any differences between AS project and Flex project debugging ?
Hi guys and thanks for this great tool !
I'm having a problem using MonsterDebugger with my flex project on FlashDevelop. I only manage to get the tree of the root .mxml file in the "live application" panel. No matter what argument I give the MonsterDebugger constructor, or in which file I instanciate the debugger, the only thing the "live application" tree will show are the properties and methods of the base .mxml file, my custom classes that are instanciated in it does not appear.
I tried different things, from moving the MonsterDebugger instanciation from the base .mxml to the .as file of my custom classes. I also tried to give different arguments to the MonsterDebugger constructor. Everything gave me the same result : I get the tree with the properties and methods of the .mxml file WITHOUT the custom classes I instanciate in it.
This problem does not appear when I create a ActionScript3 project in FlashDevelop. All the classes seems to be recognized.
Is this a know limitation of your tool ? Am I doing something wrong ?
Please get back to me if you need any source code showing what I tried, or additional information.
Cheers !
ps : I included a screenshot of my .mxml, hope this can help understand my problem. I never get to see the custom class no matter what argument i give to the constructor of the debugger (this or toto), or even if I instanciate the debugger in the main.as file.


I'm having a problem using MonsterDebugger with my flex project on FlashDevelop. I only manage to get the tree of the root .mxml file in the "live application" panel. No matter what argument I give the MonsterDebugger constructor, or in which file I instanciate the debugger, the only thing the "live application" tree will show are the properties and methods of the base .mxml file, my custom classes that are instanciated in it does not appear.
I tried different things, from moving the MonsterDebugger instanciation from the base .mxml to the .as file of my custom classes. I also tried to give different arguments to the MonsterDebugger constructor. Everything gave me the same result : I get the tree with the properties and methods of the .mxml file WITHOUT the custom classes I instanciate in it.
This problem does not appear when I create a ActionScript3 project in FlashDevelop. All the classes seems to be recognized.
Is this a know limitation of your tool ? Am I doing something wrong ?
Please get back to me if you need any source code showing what I tried, or additional information.
Cheers !
ps : I included a screenshot of my .mxml, hope this can help understand my problem. I never get to see the custom class no matter what argument i give to the constructor of the debugger (this or toto), or even if I instanciate the debugger in the main.as file.
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Swan, you can initialize De MonsterDebugger with the following code:
<mx:script>
<![CDATA[
import nl.demonsters.debugger.MonsterDebugger;
public var debugger:MonsterDebugger = new MonsterDebugger(this);
]>
</mx:script>
But... Flex projects should be configured to run from localhost or a live domain. This is due to the security sandbox of the localconnection. By default your flex application will run from a temporary generated HTML file. Our debugger can't connect to that running Flex app. But if you run the same example on a local server (with XAMPP for instance) or on a real domain, then you should be able to see your application and traces.
Cheers,
Ferdi Koomen
Lead Developer @ De Monsters -
Inappropriate?I have the same trouble in my project.
In an flashdevlop as3 project no problem to see properties of my class Main
But in a flex project if i have a property prop from the class Bidule ,
i don t see it in the tree structure and i am able to see the application
and the trace.
It is not a problem of local connection and sandbox.
Thanks for your help
I’m confused
-
Inappropriate?Is the property public?
Loading Profile...


