ReferenceDebug

debug.dumpcodesize

Requests the engine’s native-code size report. The public engine API restricts this facility to suitable Studio contexts; exposing its name does not make it available in every player build.

Syntax

debug.dumpcodesize() -> ()

Description

This function is inherited from the selected engine. Apex does not implement a replacement when the engine refuses the operation.

Example

local ok, problem = pcall(debug.dumpcodesize)
if not ok then warn(problem) end

These are Game executor contracts. Check build requirements and session lifetimes before using them.