Skip to content

Debugger

ζeh Matt edited this page Mar 9, 2019 · 2 revisions

Functions

stepIn

Signals the debugger to step in.

-- @param [waitForDebugger=true] if false then it will not wait for the debugger to pause.
-- @return boolean success
debugger.stepIn(waitForDebugger)

stepOver

Signals the debugger to step over.

-- @param [waitForDebugger=true] if false then it will not wait for the debugger to pause.
-- @return boolean success
debugger.stepOver(waitForDebugger)

run

Signals the debugger to resume the process.

-- @param [waitForDebugger=true] if false then it will not wait for the debugger to pause.
-- @return boolean success
debugger.run(waitForDebugger)

wait

Waits for the debugger, will not return until the debugger paused.

-- @return boolean success
debugger.wait()

isRunning

Returns if the debugger is currently running.

-- @return boolean
debugger.isRunning()

switchThread

Switches the active thread to the specified thread.

-- @param threadId to switch to.
-- @return boolean
debugger.switchThread(threadId)
Clone this wiki locally