test/data/info.right in ruby-debug-0.10.3 vs test/data/info.right in ruby-debug-0.10.4
- old
+ new
@@ -40,13 +40,13 @@
Without argument, list info about all breakpoints. With an
integer argument, list info on that breakpoint.
# help info display
Expressions to display when program stops.
# break 10
-Breakpoint 1 file ./gcd.rb, line 10
+Breakpoint 1 file gcd.rb, line 10
# break 12
-Breakpoint 2 file ./gcd.rb, line 12
+Breakpoint 2 file gcd.rb, line 12
# info break 10
*** No breakpoints found among list given.
# info break 1
Num Enb What
1 y at gcd.rb:10
@@ -60,6 +60,25 @@
2 y at gcd.rb:12
# info file ./gcd.rb break
File ./gcd.rb
breakpoint line numbers:
4 6 6 7 10 10 12 12 13 15 18
+# i
+*** "info" must be followed by the name of an info command:
+List of info subcommands:
+
+info args -- Argument variables of current stack frame
+info breakpoints -- Status of user-settable breakpoints
+info catch -- Exceptions that can be caught in the current stack frame
+info display -- Expressions to display when program stops
+info file -- Info about a particular file read in
+info files -- File names and timestamps of files read in
+info global_variables -- Global variables
+info instance_variables -- Instance variables of the current stack frame
+info line -- Line number and file name of current position in source file
+info locals -- Local variables of the current stack frame
+info program -- Execution status of the program
+info stack -- Backtrace of the stack
+info thread -- List info about thread NUM
+info threads -- information of currently-known threads
+info variables -- Local and instance variables of the current stack frame
# quit