func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoBlockSubcmd, Help: `info block Prints basic block number`, Min_args: 0, Max_args: 0, Short_help: "Basic block number", Name: "block", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoArgsSubcmd, Help: `info args [arg-name] Show argument variables of the current stack frame"`, Min_args: 0, Max_args: 1, Short_help: "Show argument variables of the current stack frame", Name: "args", }) }
func init() { parent := "set" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: SetHighlightSubcmd, Help: `set highlight [on|off] Sets whether terminal highlighting is to be used`, Min_args: 0, Max_args: 1, Short_help: "use terminal highlight", Name: "highlight", }) }
func init() { parent := "show" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: ShowHighlightSubcmd, Help: `show highlight Show whether terminal highlighting is used`, Min_args: 0, Max_args: 0, Short_help: "show terminal highlight", Name: "highlight", }) }
func init() { parent := "show" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: ShowTraceSubcmd, Help: `show trace Show interpreter instruction tracing status`, Min_args: 0, Max_args: 0, Short_help: "show interpreter instruction tracing", Name: "trace", }) }
func init() { parent := "set" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: SetTraceSubcmd, Help: `set trace [on|off] set instruction tracing `, Min_args: 0, Max_args: 1, Short_help: "Set instruction tracing on or off", Name: "trace", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoPackageSubcmd, Help: `info program Prints package name and path information about : `, Min_args: 0, Max_args: -1, // Max_args < 0 means an arbitrary number Short_help: "Information about packages", Name: "package", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoStackSubcmd, Help: `info stack Same thing as "backtrace" `, Min_args: 0, Max_args: 0, Short_help: "Same thing as \"backtrace\"", Name: "stack", }) }
func init() { parent := "show" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: ShowArgsSubcmd, Help: `show args Show argument list to give program being debugged when it is started. `, Min_args: 0, Max_args: 0, Short_help: "Show argument list to give program being debugged when it is started", Name: "args", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoScopeSubcmd, Help: `info scope [level] Prints information about the scope for the current stack frame. If a level is given, we go up that many levels. `, Min_args: 0, Max_args: 1, Short_help: "Scope information", Name: "scope", }) }
func init() { parent := "set" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: SetHighlightSubcmd, Help: `Modifies parts of the debugger environment. You can give unique prefix of the name of a subcommand to get information about just that subcommand. Type "set" for a list of "set" subcommands and what they do. Type "help set *" for just the list of "set" subcommands.`, Min_args: 0, Max_args: 3, }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoNodeSubcmd, Help: `info node Prints information about the node of the current scope. Warning: this can be volumnous. `, Min_args: 0, Max_args: 0, Short_help: "AST Node information", Name: "node", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoPCSubcmd, Help: `info pc Prints information about the current PC, an instruction counter and block number. If we are at a call, before the first instruction, -1 is printed. If we are at a return, after the last instruction, -2 is printed. `, Min_args: 0, Max_args: 0, Short_help: "program counter", Name: "pc", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoProgramSubcmd, Help: `info frame Prints information about the selected frame including: * goroutine number * location * function and parameter names See also backtrace. `, Min_args: 0, Max_args: 0, Short_help: "Show information about the selected frame", Name: "frame", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoProgramSubcmd, Help: `info program Prints information about the program including: * instruction number * block number * function number * stop event * source-code position See "info pc" for information concerning negative PC values. `, Min_args: 0, Max_args: 0, Short_help: "Information about debugged program", Name: "program", }) }
func init() { parent := "info" gub.AddSubCommand(parent, &gub.SubcmdInfo{ Fn: InfoBreakpointSubcmd, Help: `info breakpoint [num...] Show status of user-settable breakpoints. If no breakpoint numbers are given, the show all breakpoints. Otherwise only those breakpoints listed are shown and the order given. The "Disp" column contains one of "keep", "del", the disposition of the breakpoint after it gets hit. The "enb" column indicates whether the breakpoint is enabled. The "Where" column indicates where the breakpoint is located. Status of user-settable breakpoints. `, Min_args: 0, Max_args: -1, Short_help: "Status of user-settable breakpoints", Name: "breakpoint", }) }