Hi, Harbs

Josh made a very convincing demo (the video is on nextgen actionscript web 
site) in july. He was using an mxml source file just like out test file.
That is why I thought it was fully implemented by now.

We will make some more test to check if the problem is related to outputting 
outside of the workspace.

About the debug-browser choice : yes, I understand that Chrome debugging may be 
"better" than Firefox debugging, but at this time it doesn’t matter very much 
since the .map file is empty anyway...
We will of course evaluate the quality of the browser debug plug-in (sorry : 
"extension") in the course of our evaluation process. At first sight, it seems 
that the Chrome debug extension is more mature...

Many thanks

Nicolas Granon




> -----Message d'origine-----
> De : Harbs [mailto:harbs.li...@gmail.com]
> Envoyé : mercredi 27 septembre 2017 11:29
> À : users@flex.apache.org; ngra...@idylog.com
> Objet : Re: [FlexJS] Compiler outputs (nearly) empty map file
> 
> I’m not sure what the state of source maps for MXML files is. The last
> time I paid attention, it was not working.
> 
> Alex or Josh would have a better idea.
> 
> FWIW, I got into the habit of doing my debugging in Chrome…
> 
> Harbs
> 
> > On Sep 27, 2017, at 12:24 PM, Idylog - Nicolas Granon
> <ngra...@idylog.com> wrote:
> >
> > We are trying to use FlexJS 0.8 with a Visual Studio Code (VSCode)
> > setup (nextgen actionscript extension).
> >
> > Everything works fine. However, when we use the -source-map option of
> > the compiler (in the asconfig.json) a source map file is created
> > ({project
> > name}.js.map) with the correct keys, but no values !
> >
> > Here is a copy of the content of the {project name}.js.map :
> >
> > {
> > "version":3,
> > "file":"myproject03.js",
> > "lineCount":1,
> > "mappings":";",
> > "sources":[],
> > "names":[]
> > }
> >
> > I have understood that the map generated from MXML files should be
> > named .mxml.map. But this is not our concern (we can rename the file
> > until this small bug is fixed).
> >
> > The problem is of course that the file is "empty".
> >
> > The project consists of a single mxml file (with a button, a label
> and
> > a listener displaying an Alert, nothing very complicated !).
> > The listener is inside a script tag, of course, not inlined.
> > We have the latest version of VSCode (august 2017), the latest
> version
> > of NextGenAS extension (0.6.0).
> > The only specific (?) setting is that we use the --output argument
> > since we want to sent the compiled output to our web server (the
> > output dir is one level BELOW the web root but of course the output
> > dir is specified as an absolute windows path, not as a URL). And also
> > we output JS only (--target JSFlex).
> > The generated output in bin-debug runs fine...
> >
> > What did we miss ?
> >
> > Many thanks
> >
> > Nicolas
> >


Reply via email to