對於第一點,lua的debug庫中有一個非常神奇的鉤子函式 sethook ,其官方 ... 鉤子的事件: "call" (或 "tail call" ), "return" , "line" 和 "count" .
確定! 回上一頁