IntelliJ IDEA creates different types of breakpoints for different languages. An ActionScript breakpoint is designed to work with the SWF debugger only. If you use source maps, IntelliJ IDEA will understand them just fine, but it will still think that any breakpoints added in an ActionScript file are completely unrelated to a web browser debugging session. I spent a couple of frustrating days trying to figure it out. Eventually, I ended up talking to someone at Jetbrains who explained why it didn't work.
Thankfully, web browsers have their own built-in debuggers! I wrote tutorials for how to debug ActionScript with source maps in Firefox and Chrome: Firefox https://nextgenactionscript.com/tutorials/source-maps-firefox-debug-actionscript/ Chrome https://nextgenactionscript.com/tutorials/source-maps-chrome-debug-actionscript/ The VSCode extension also has a debugger that can use source maps: VSCode and Chrome https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/Debug-a-transpiled-ActionScript-project-in-Visual-Studio-Code-with-Google-Chrome VSCode and Node.js https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/Debug-a-transpiled-ActionScript-project-in-Visual-Studio-Code-with-Node.js - Josh On Wed, Nov 2, 2016 at 8:32 AM, Carlos Rovira <carlos.rov...@codeoscopic.com > wrote: > Hi Chris, > > talking about that with Josh he explain me that he couldn't make it work in > IntelliJ due to the way debugger works in that IDE. that was one of the > reason to change to VSCode, so he could take more control of an open source > extension for FlexJS. > > > > 2016-11-02 16:12 GMT+01:00 Christofer Dutz <christofer.d...@c-ware.de>: > > > Hi Piotr, > > > > eventually my debugging response was a little mis-leading I just noticed > > ... continously working on the build and the compiler, these are the > parts > > I’m debugging ... obviously you guys are talking about debugging the > client > > application. Have never done that. But I guess we have to figure out how > to > > do that. But I think it shouldn’t be that difficult to debug the SWF > > version, but the JS version will deffinitely be challenging. > > > > Chris > > > > > > Am 02.11.16, 15:34 schrieb "carlos.rov...@gmail.com im Auftrag von > Carlos > > Rovira" <carlos.rov...@gmail.com im Auftrag von > > carlos.rov...@codeoscopic.com>: > > > > Hi Piotrz, > > > > I think Chris solve lot of this. Sorry, to get a bit late. > > > > About MDL, you can check examples/MDLExample project and use it as a > > matter > > of template. > > I must say that I only have implemented 4 controls and some beads. > For > > tutorials, Chris pointed to the marvelous video > > about maven - flexjs , I want as well work on a series of tutorials > > very > > soon (maybe starting today if I get some time later). > > I'm using only maven to build, both sources (if something is added or > > fixed) , as well MDL swc library and MDL example to test progress. > > > > For IDE related things. I'm using this days VSCode with Josh NextGen > > extension. I love IntelliJ and this will be preferred for me, but > > some weeks ago I couldn't get debugging working. In this thread Chris > > pointed something like he could get it work? if so, I would want to > > check > > it out. > > > > Thanks > > > > Carlos > > > > > > > > > > > > 2016-11-01 19:57 GMT+01:00 piotrz <piotrzarzyck...@gmail.com>: > > > > > Chris, > > > > > > I got the idea and now I have nice folder structure :) I was able > to > > run > > > build, but got error [1] - Is it something familiar to you ? > > > > > > [1] https://paste.apache.org/sqYh > > > > > > Thanks, > > > Piotr > > > > > > > > > > > > ----- > > > Apache Flex PMC > > > piotrzarzyck...@gmail.com > > > -- > > > View this message in context: http://apache-flex- > > > development.2333347.n4.nabble.com/MDL-Tweet-tp56042p56152.html > > > Sent from the Apache Flex Development mailing list archive at > > Nabble.com. > > > > > > > > > > > -- > > > > 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. > > > > > > > > > -- > > 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. >