You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2013/04/19 09:42:32 UTC

Best way to debug mustella tests?

Hi,

I have a test tat is failing but not sure why - how do you run mustella in the debugger?

Thanks,
Justin

Re: Best way to debug mustella tests?

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> I never succeeded to load a mustella sources and debug them, maybe a plugin need to be done but you can debug the swf which holds the tests, from Om, time ago:

Thanks much appreciated I'll give it a go.

Justin

Re: Best way to debug mustella tests?

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Justin,

I never succeeded to load a mustella sources and debug them, maybe a plugin 
need to be done but you can debug the swf which holds the tests, from Om, 
time ago:

1. Create a new file under bin-debug/debug.html with nothing in it.
2.  Create a new debug configuration.  In the "URL or path to launch",
point it to bin-debug/html
2.  Run the debug configuration
3.  Flash Builder launches the bin-debug/debug.html file and waits to
connect to the running application.  But since there is no swf to connect
to,  in this mode, Flash Builder will debug any swf.
4.  Open the swf that you want to debug, right click and select 'Debugger'.
Select 'Localhost'

You should now be in Flash Builder debugger mode.  Obviously, you need to
source code for the swf somewhere in your project's source paths if you
want to have breakpoints.

Hope this helps!

-Fred

-----Message d'origine----- 
From: Justin Mclean
Sent: Friday, April 19, 2013 9:42 AM
To: dev@flex.apache.org
Subject: Best way to debug mustella tests?

Hi,

I have a test tat is failing but not sure why - how do you run mustella in 
the debugger?

Thanks,
Justin