nitdbg: Added documentation for the features of the debugger
authorLucas BAJOLET <r4pass@r4pass-ubu-laptophp.(none)>
Fri, 22 Feb 2013 20:10:08 +0000 (15:10 -0500)
committerLucas Bajolet <r4pass@hotmail.com>
Tue, 19 Mar 2013 18:05:25 +0000 (14:05 -0400)
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>

src/debugger.nit

index 09990ee..6e9ded7 100644 (file)
@@ -857,11 +857,15 @@ class Debugger
                print "[break/b] line : Adds a breakpoint on line *line_nb* of the current file\n"
                print "[break/b] file_name line_nb : Adds a breakpoint on line *line_nb* of file *file_name* \n"
                print "[p/print] variable : [p/print] * shows the status of all the variables\n"
+               print "[p/print] variable[i] : Prints the value of the variable contained at position *i* in SequenceRead collection *variable*\n"
+               print "[p/print] variable[i..j]: Prints the value of all the variables contained between positions *i* and *j* in SequenceRead collection *variable*\n"
+               print "Note : The arrays can be multi-dimensional (Ex : variable[i..j][k] will print all the values at position *k* of all the SequenceRead collections contained between positions *i* and *j* in SequenceRead collection *variable*)\n"
                print "s : steps in on the current function\n"
                print "n : steps-over the current instruction\n"
                print "finish : steps out of the current function\n"
                print "variable as alias : Adds an alias called *alias* for the variable *variable*"
                print "An alias can reference another alias\n"
+               print "variable = value : Sets the value of *variable* to *value*\n"
                print "[d/delete] line_nb : Removes a breakpoint on line *line_nb* of the current file \n"
                print "[d/delete] file_name line_nb : Removes a breakpoint on line *line_nb* of file *file_name* \n"
                print "kill : kills the current program (Exits with an error and stack trace)\n"