MAXScript Debugger >

# The MAXScript Debugger

The MAXScript Debugger in 3ds Max 8 and higher implements a portion of a script development and debugging environment. It allows the main thread of 3ds Max to be suspended, the values of global and local variables to be examined and altered while the 3dsMax thread is not running, MAXScript commands to be executed from a command line, and the execution to be suspended using method calls from inside the MAXScript code. The Debugger also lets you stop or continue the execution of the suspended code.

3ds Max 2010 added support for line numbers in the code tree, allowing the exact report of the location of an error and the ability to include Asserts in the MAXScript code to reason about the validity of the program.

### The following topics discuss the use of the MAXScript Debugger and related functions

Accessing the Debugger Dialog

Using the MAXScript Debugger

Interface: MXSDebugger

Manual Break Points using the Break() Function

Manual Stack Dump using the Stack() Function

Assert Function

Debugger variables for Functions