Does VS/IE support source map sections

Topics: General
Oct 5, 2013 at 7:12 PM
I am wondering whether VS2012(or 2013) supports source map sections when debugging through IE10 (or 11). I know that it is not exactly the perfect group for this kind of question, however since TypeScript is dealing with source maps somebody perhaps know.
If you wonder, I created a custom source map with sections but VS would crash every time while Chrome (standalone) doesn't have problems. In fact VS is crashing when source map isn't "perfect".
Oct 9, 2013 at 8:23 PM
I'm not sure what you mean by source map sections. Is this part of the current source map specification?
Oct 10, 2013 at 7:12 AM
Here is a fairly old proposal
See the sample structure under Index map: supporting post processing header.
It uses Sections to allow splitting sources between more than one file.
Oct 11, 2013 at 3:39 PM
Ah, I see now. No, as the TypeScript compiler doesn't support this kind of sectioning, we didn't add it to the VS side.

Out of curiosity, what are you trying to do with them? Are you post-processing the source maps that come out of the compiler?
Oct 11, 2013 at 4:48 PM
Ah, Visual Studio doesn't support this kind of structure (at least that's why I am trying to find out). I know TypeScript doesn't.

As per what I am trying to achieve is this:
I would concatenate two or more .ts files, compile the result using tsc and then adjust source map so the debugger would stop in original files. The reason behind this trick is that I want to build a multi file amd modules. Right now, correct me if I am wrong, one can't build those. I know you can use tsc -out argument but that would just concatenate the compiler results (I am concatenating sources and compiling the result instead).