ReferenceDebug

debug.getmemorycategory

Reads the current thread’s memory-category tag. This is attribution metadata, not a measurement of allocated bytes.

Syntax

debug.getmemorycategory() -> string

Returns

TypeDescription
stringActive category tag.

Description

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

Example

print(debug.getmemorycategory())

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