summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-02-19 20:44:16 +0900
committerGitHub <[email protected]>2019-02-19 20:44:16 +0900
commitbaf8fbe6edf8464e86523ee5753aa20717e9d8b3 (patch)
tree2ea29c94dac1b0ea2aa618665c629a4697586fb0 /mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
parent8781596c3595980adb605341a8f272f96253622d (diff)
parent477ffc747368f26ee90cb03fa69d23690298fc3d (diff)
downloadmruby-baf8fbe6edf8464e86523ee5753aa20717e9d8b3.tar.gz
mruby-baf8fbe6edf8464e86523ee5753aa20717e9d8b3.zip
Merge pull request #4286 from kimushu/mrdb-local-variables
mrdb: add "info locals" command
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
index 2fc661cdf..db28e4229 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
@@ -82,6 +82,12 @@ static help_msg help_msg_list[] = {
"Arguments are breakpoint numbers with spaces in between.\n"
},
{
+ "i[nfo]", "l[ocals]", "Print name of local variables",
+ "Usage: info locals\n"
+ "\n"
+ "Print name of local variables.\n"
+ },
+ {
"l[ist]", NULL, "List specified line",
"Usage: list\n"
" list first[,last]\n"