Skip to content
Astra
ProductDocumentationDownloadPricingCommunity
Sign inGet Astra

Explore Astra

Explore Astra

HomeProductPricingDocumentationDownloadRelease notesSystem status
Sign inDiscord
Roblox
IntroductionQuick start
Keys & licensingYour workspaceTroubleshooting
API reference
Closures
Debug
Environment
Metatables
Scheduler
Instances
Cache
Scripts
Signals
Filesystem
Input
Console
Cryptography
JSON
Regex
System
Scene files
Drawing
UI library
Renderer
Requests
Network
API reference

Debug

Inspect constants, upvalues, prototypes and stack frames.

Available functions

debug.decompileDumps a function's bytecode as hexadecimal text.debug.getconstantReads one function constant.debug.getconstantsReads a function's constants.debug.getinfoInspects a function or stack frame.debug.getprotoAccesses a child function prototype.debug.getprotosLists a function's child prototypes.debug.getstackReads register slots from a live Luau stack frame.debug.getupvalueReads one function upvalue.debug.getupvaluesReads a function's upvalues.debug.infoInspects function and stack metadata.debug.setconstantChanges a function constant.debug.setstackWrites a register slot in a live Luau stack frame.debug.setupvalueChanges a function upvalue.
PreviousrestorefunctionClosuresNextdebug.decompileDebug

On this page

Available functions
Astra

A complete Luau workspace.
Your editor, scripts, and accounts in one place.

Get Astra

WindowsmacOSFree keyPricingRedeemDashboard

Product

EditorScript HubAccountsFeaturesComparison

Community

DiscordSystem statusSupport

Learn

DocumentationRelease notes

Developers

API referenceLuau LSPBenchmarks

Legal

TermsPrivacyCookiesRefund policy
System statusSupportTermsPrivacyCookies

© 2026 Astra. All rights reserved.