Ghi chú phát hành
Học
Thư viện công cụ
debug

*Nội dung này được dịch bằng AI (Beta) và có thể có lỗi. Để xem trang này bằng tiếng Anh, hãy nhấp vào đây.


Tóm Tắt
Chức Năng
traceback(message: string,level: number):string
traceback(thread: coroutine,message: string,level: number):string
info(level: number,options: string):Tuple
info(function: function,options: string):Tuple
info(thread: coroutine,level: number,options: string):Tuple
profilebegin(label: string):()

Tài Liệu Tham Khảo API
Chức Năng
traceback
debug.traceback(
message:string, level:number
Tham Số
message:string
level:number
Giá Trị Mặc Định: 1
Lợi Nhuận

traceback
debug.traceback(
thread:coroutine, message:string, level:number
Tham Số
thread:coroutine
message:string
level:number
Giá Trị Mặc Định: 1
Lợi Nhuận

info
debug.info(
level:number, options:string
Tham Số
level:number
options:string
Lợi Nhuận

info
debug.info(
function:function, options:string
Tham Số
function:function
options:string
Lợi Nhuận

info
debug.info(
thread:coroutine, level:number, options:string
Tham Số
thread:coroutine
level:number
options:string
Lợi Nhuận

profilebegin
debug.profilebegin(label:string):()
Tham Số
label:string
Lợi Nhuận
()

profileend
debug.profileend():()
Lợi Nhuận
()

getmemorycategory
debug.getmemorycategory():string
Lợi Nhuận

setmemorycategory
debug.setmemorycategory(tag:string):string
Tham Số
tag:string
Lợi Nhuận

resetmemorycategory
debug.resetmemorycategory():()
Lợi Nhuận
()

dumpcodesize
debug.dumpcodesize():()
Lợi Nhuận
()

©2026 Roblox Corporation. Roblox, logo Roblox và Powering Imagination là các nhãn hiệu đã đăng ký và chưa đăng ký của chúng tôi tại Hoa Kỳ và các quốc gia khác.