Source maps (was: Multiline Strings)
K. Gadd
kg at luminance.org
Sun Mar 16 14:36:10 PDT 2014
The accuracy of this aside, history shows that most of my users are
not satisfied by 'just debug the JS, it's fairly readable'. Maybe
emscripten, gwt, etc. users are more fluent in JS and don't mind
debugging it, but based on what I've seen, maybe not...
I do think it's important that source maps don't obscure what's
happening at the JS level, though - presumably all the modern
debuggers let you toggle them back off once they're loaded, so that's
satisfied?
-kg
On Sun, Mar 16, 2014 at 11:03 AM, Bill Frantz <frantz at pwpconsult.com> wrote:
> On 3/14/14 at 3:02 PM, fitzgen at gmail.com (Nick Fitzgerald) wrote:
>
>> I feel very strongly that users debugging their sources that were
>> compiled to js should be able to set watch expressions and conditional
>> breakpoints in their source language.
>
>
> My experience with debuggers says the while the vast majority of the time
> you want to be able to debug it in the language you wrote, sometimes you
> want to debug it in the language it broke in. Being able to look at the
> lower level language can clear up misconceptions about what a higher level
> construct means. It can also reveal compiler bugs.
>
> It should also be recognized that all compiled programs break in machine
> language. :-)
>
> Cheers - Bill
>
> -----------------------------------------------------------------------
> Bill Frantz | Concurrency is hard. 12 out | Periwinkle
> (408)356-8506 | 10 programmers get it wrong. | 16345 Englewood Ave
> www.pwpconsult.com | - Jeff Frantz | Los Gatos, CA 95032
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
More information about the es-discuss
mailing list