Reference / Supported debug commands |
Specifies a user-defined sequence of commands.
define command-name { command1 command2 ... } end
The define command allows you to create a user-defined command by assigning a command name to a sequence of debugger commands that you specify. You may then execute the command that you defined by entering the command name at the debugger prompt.
User commands may accept up to ten arguments separated by whitespace.
(fgldb) define myinfo > info breakpoints > info program > end (fgldb)