Well, you can't debug optimized RSLs.  Optimized RSLs remove all kind of
metadatas, so no Debug code =(Won't produce stack traces either.

RSLs are cool for production, but a pain while developing.  You can just
extract library.swf from your SWC to have an unoptimized RSL.... but I guess
you will get into digests problems... which can be disable BTW.


So far, flexmojos doesn't allow you to create unoptimized RSLs.  The point
of RSLs is to be optimized... so not sure if make any sense generate
unoptimized RSLs.

What you could try is use other scope while you are developing.  Then switch
to RSL on production.


VELO

On Wed, Apr 15, 2009 at 9:49 PM, Jean-Philippe Steinmetz <
[email protected]> wrote:

> Hello everyone,
>
> I'm having some trouble debugging code that is separated into an RSL. I
> have set breakpoints and have compiled with the debug configuration option
> set to true but when I run I get no break points. I have also tried throwing
> an error in a particular piece of code and noticed that when the stack trace
> is displayed I get no line number like I normally should. I was wondering if
> this is an unintended artifact to compiling a library with the optimize
> feature enabled (which generates the RSL)? Is there a way to make this work?
> Has anyone else experienced problems like this? Any help is appreciated.
>
> Jean-Philippe
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to