mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 11:23:43 +01:00
$.stack is the current stack trace (https://extendscript.docsforadobe.dev/extendscript-tools-features/dollar-object/). It now starts with a line holding the run's name in square brackets, such as `[main.jsx]`, the name the console shows for the run: the `name` given to `script.run`, else the `#script` name, else the file's name, else `script`. The frames follow as before. Scripts that look for a bracketed line in the trace to find their own name, for example to name a preferences file, now find it. The name line comes before the `…` line that stands for frames past 64. A realm without a name (`Realm::set_script_name(None)`) writes no such line. Docs: docs/mcp.md ($ object table), docs/target-app-parity.md.