@@ -62,7 +62,7 @@ Or you can run it standalone as a ``RobotFramework`` shell::
6262
6363 $ rfdebug
6464 [...snap...]
65- >>>>> Enter interactive shell, only accepted plain text format keyword.
65+ >>>>> Enter interactive shell
6666 > help
6767 Input Robotframework keywords, or commands listed below.
6868 Use "libs" or "l" to see available libraries,
@@ -71,8 +71,8 @@ Or you can run it standalone as a ``RobotFramework`` shell::
7171
7272 Documented commands (type help <topic>):
7373 ========================================
74- EOF d docs exit help k keywords l libs pdb s selenium
75-
74+ EOF continue docs help keywords libs ll n pdb selenium
75+ c d exit k l list longlist next s step
7676 > log hello
7777 > get time
7878 < '2011-10-13 18:50:31'
@@ -127,6 +127,40 @@ keywords of a library.
127127``rfdebug `` accept any ``pybot `` arguments, but by default, ``rfdebug ``
128128disabled all logs with ``-l None -x None -o None -L None -r None ``.
129129
130+ Step debugging
131+ **************
132+
133+ ``DebugLibrary `` support step debugging since version ``2.1.0 ``.
134+ You can use ``step ``/``s ``, ``next ``/``n ``, ``continue ``/``c ``,
135+ ``list ``/``l `` and ``longlist ``/``ll `` to trace and view the code
136+ step by step like in ``pdb ``::
137+
138+ $ robot some.robot
139+ [...snap...]
140+ >>>>> Enter interactive shell
141+ > l
142+ Please run `step` or `next` command first.
143+ > s
144+ .> /Users/xyb/some.robot(7)
145+ -> log to console hello
146+ => BuiltIn.Log To Console hello
147+ > l
148+ 2 Library DebugLibrary
149+ 3
150+ 4 ** test case **
151+ 5 test
152+ 6 debug
153+ 7 -> log to console hello
154+ 8 log to console world
155+ > n
156+ hello
157+ .> /Users/xyb/some.robot(8)
158+ -> log to console world
159+ => BuiltIn.Log To Console world
160+ > c
161+ >>>>> Exit shell.
162+ world
163+
130164Submitting issues
131165-----------------
132166
0 commit comments