mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 12:26:29 +00:00
Estimated hours taken: 0.75 scripts/mdbrc.in: Alias EMPTY and NUMBER to "step", to simplify the code in mercury_trace_internal.c for handling those. trace/mercury_trace_internal.c: Split the very long and complicated function MR_trace_debug_cmd() into two, one of which contains all the before-and-after processing, and the other being the main command dispatch switch. Delete the special-case handling of EMPTY and NUMBER since it's now done by scripts/mdbrc.in. Add some recently-added command names to the list of valid commands.
16 lines
255 B
Plaintext
16 lines
255 B
Plaintext
source @DEFAULT_MERCURY_DEBUGGER_INIT_DIR@/mdb_doc
|
|
alias s step
|
|
alias g goto
|
|
alias f finish
|
|
alias r retry
|
|
alias v vars
|
|
alias p print
|
|
alias P print *
|
|
alias d stack
|
|
alias c continue
|
|
alias b break
|
|
alias h help
|
|
alias ? help
|
|
alias EMPTY step
|
|
alias NUMBER step
|