Update this debug page to reflect the recent PSA

Just a moment ago from writing this, a PSA was made that completely contradicts the page on the developer hub linked below.

https://developer.roblox.com/api-reference/lua-docs/debug

The part of the page is under debug.traceback, and says this:

Format

The traceback is divided up into several lines, which are separated using the newline character (\n). The first line of the traceback is always Stack Begin , and the last line is always Stack End .

<The traceback lines between those two lines are formatted as such:
Script '[1]', Line [2] - [3] [4]

[1] - A description of the location where this traceback is being made.
[2] - The line number of the location where this traceback is being made.
[3] - The stack’s type.
[4] - The name of the stack.

1 Like

zeuxcg had said they’re updating the Developer Hub page.

:man_facepalming: For some reason I read that as GitHub.

A lead top contributor can close this if they want, but it seems valid to me for as long as it isn’t changed.