You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support source maps. The problem is the JVM only supports a single SourceFile attribute. So I'm thinking maybe use SourceDebugAttribute to store filename-to-method map, then use "" as the SourceFile then maybe provide some runtime thing to translate stack traces. Or maybe, add an attribute on top of each method saying what source file it comes from (but has to be runtime visible). Or maybe, add a static method on the module that will translate method + line number to source file + line number. Actually, that would just translate method name to source file name, because line number would already be accurate.
The text was updated successfully, but these errors were encountered:
Support source maps. The problem is the JVM only supports a single
SourceFile
attribute. So I'm thinking maybe useSourceDebugAttribute
to store filename-to-method map, then use "" as theSourceFile
then maybe provide some runtime thing to translate stack traces. Or maybe, add an attribute on top of each method saying what source file it comes from (but has to be runtime visible). Or maybe, add a static method on the module that will translate method + line number to source file + line number. Actually, that would just translate method name to source file name, because line number would already be accurate.The text was updated successfully, but these errors were encountered: