secondlife / secondlife/viewer

Print script errors to disk if a script is open in external editor

Open
#3,867 3 comments 0 reactions 1 assignee View on GitHub

@marchcat is already working on this.

Since Apr 3, 2025.

  • #3860 by @marchcat — merged
enhancement stale
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

If a script is open in the external editor, print errors the client receives to a matching .log file.

This would allow external tooling to pick them up and display them in editor.

In the future with more advanced errors this could include source map support etc.

Suggestion

  • Client receives script error (be it on debug channel, or a compile error)

  • Checks if script the error belongs to is open

  • Checks if that script is open in external editor

  • Appends error to matching file sl_script_<script_name>_<uuid>.luau.log

https://secondlife.canny.io/admin/board/slua-alpha/p/print-script-errors-to-disk-if-a-script-is-open-in-external-editor

Test plan

  • This needs a test plan

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.