Yeah, that's what I generally do as well.

Not sure if you are working across swf and js at the same time... if I am
comparing swf stuff with js, I like to have both in the js console, in
which case I do something like this:
https://github.com/apache/royale-asjs/blob/develop/examples/crux/CruxQuickStart/src/main/royale/tracer.as




On Thu, Jan 16, 2020 at 12:23 PM Josh Tynjala <joshtynj...@bowlerhat.dev>
wrote:

> As a temporary workaround, I was able to use console.log() instead.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Jan 15, 2020 at 2:52 PM Josh Tynjala <joshtynj...@bowlerhat.dev>
> wrote:
>
> > I see that Language.trace() has a @royaledebug doc tag, which seems to
> > remove it from a release build. I just spent half an hour trying to
> figure
> > out why some event listeners weren't being called. Turns out that they
> > were, in fact, being called. Instead, the compiler was silently removing
> > some of my code. Is there a way to turn that off and keep trace() in a
> > release build?
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
>

Reply via email to