4 BASH Debugger Command Reference ¶
You can abbreviate the long name of the BASH debugger command to the first
few letters of the command name, if that abbreviation is unambiguous;
and you can repeat the next
or step
commands by typing
just RET. Some commands which require a parameter, such as
print
remember the argument that was given to them.
- Command syntax
- Getting help (‘help’)
- Quitting the BASH debugger (‘quit’, ‘kill’)
- Stopping and Resuming Execution
- Examining the Stack Frame (‘where’, ‘frame’, ‘up’, ‘down’)
- Examining Source Files (‘list’)
- Editing Source files (‘edit’)
- Searching source files (‘search’, ‘reverse’, ‘/.../’, ‘?..?’)
- Examining Data (‘print’, ‘examine’, ‘info variables’)
- Automatic display (‘display’, ‘undisplay’)
- Running Arbitrary BASH and Shell commands (‘eval’, ‘shell’)
- Interfacing to the OS (‘cd’, ‘pwd’)
- Status and Debugger Settings (‘info’, ‘show’)
- Controlling bashdb (‘set’, ‘file’, ‘prompt’, ‘history’...)