mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 22:21:59 +00:00
$.line and $.stack counted lines in the run's expanded source. In code that comes after an #include they gave lines that match no file, and this included code in a file $.evalFile ran and code a named engine kept from an earlier run. Both now map each frame through the run's source maps, as uncaught errors already were. $.stack writes each frame as name@file:line, outermost first, with the run's name as the file of a script given as source. Code that eval or Function compiled keeps the line of the source they compiled, in [eval]; code whose place a named engine no longer keeps is at line 0 of [unknown]. The 64-frame limit, [global] and [anonymous] are unchanged. Docs: docs/mcp.md, docs/target-app-parity.md.