flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: How to use source maps. (was: how flexjs just get js-debug?)
Date Thu, 14 Apr 2016 14:55:43 GMT
 Nightly.

On Apr 14, 2016, at 5:53 PM, Carlos Rovira <carlos.rovira@codeoscopic.com> wrote:

> Hi Josh,
> 
> in order to test source-maps, is that in official 0.6 release or I must use
> a nightly build?
> 
> thanks
> 
> 2016-04-14 0:34 GMT+02:00 Josh Tynjala <joshtynjala@gmail.com>:
> 
>> Hey Harbs,
>> 
>> I tweaked the compiler so that a warning is printed to the console when
>> trying to use source maps with MXML, but it should work fine with any AS
>> files in the project.
>> 
>> - Josh
>> 
>> On Wed, Apr 13, 2016 at 11:27 AM, Harbs <harbs.lists@gmail.com> wrote:
>> 
>>>> Right now, source maps for MXML files are not supported. The compiler
>>> will
>>>> exit with an error. It should be possible to support it in the future,
>>> but
>>>> I'm focusing on pure ActionScript for now.
>>> 
>>> So, a project with ANY mxml file cannot be used right now with the
>>> --source-map option?
>>> 
>>> If so, I’ll have to wait to try it out.
>>> 
>>>> I tried getting the IntelliJ IDEA debugger working with source maps. It
>>>> recognizes them in other places, but breakpoints won't work. I think
>> I've
>>>> figured out that ActionScript files have their own type of breakpoint
>> in
>>>> IDEA that isn't recognized as a JavaScript breakpoint.
>>> 
>>> In-IDE debugging would be REALLY cool. I hope some of the IDE folks jump
>>> on the band-wagon to get that working.
>>> 
>>> I wonder how hard it would be to get that working in Visual Studio
>>> Code[1]. (In fact, I wonder about FlexJS integration in general.) It has
>>> support for in-IDE debugging of TypeScript and the whole IDE is
>> open-source.
>>> 
>>> [1]https://www.visualstudio.com/products/code-vs
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> 
> Carlos Rovira
> Director General
> M: +34 607 22 60 05
> http://www.codeoscopic.com
> http://www.avant2.es
> 
> 
> Este mensaje se dirige exclusivamente a su destinatario y puede contener
> información privilegiada o confidencial. Si ha recibido este mensaje por
> error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
> proceda a su destrucción.
> 
> De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
> que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> servicio o información solicitados, teniendo usted derecho de acceso,
> rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
> oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> necesaria.


Mime
View raw message