The debugger now supports user-defined commands. These commands support if, while, loop_break, and loop_continue commands in their bodies. User-defined commands can have up to 10 arguments separated by whitespace. Argument names are $arg0, $arg1, $arg2,..., $arg9. The number of arguments is held in $argc.
The debugger supports the following commands to control user-defined commands:
(idb) set max-user-call-depth [depth]
This command sets maximum level of recursion for user-defined commands. The default value is 1024.
(idb) show max-user-call-depth
This command shows current available level of recursion.
The debugger does not yet support the document, help user-defined, and dont-repeat commands or user-defined hooks.