summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
diff options
context:
space:
mode:
authorkimu_shu <[email protected]>2019-02-19 18:10:05 +0900
committerkimu_shu <[email protected]>2019-02-19 18:10:05 +0900
commit477ffc747368f26ee90cb03fa69d23690298fc3d (patch)
tree2f37105d3235e57b8e1098e9166cf32fe4327f65 /mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
parent971bfd13c152bb9ac8f09737b89a228c88e15d66 (diff)
downloadmruby-477ffc747368f26ee90cb03fa69d23690298fc3d.tar.gz
mruby-477ffc747368f26ee90cb03fa69d23690298fc3d.zip
Add "info locals" command to mrdb
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"