Skip to content

Commit 8e6e78f

Browse files
committed
release v2.1.0
1 parent 5822c79 commit 8e6e78f

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2020-05-09 Xie Yanbo <[email protected]>
2+
3+
* release version 2.1.0
4+
* add step, next, continue, list and longlist commands
5+
16
2020-05-03 Xie Yanbo <[email protected]>
27

38
* release version 2.0.0

DebugLibrary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '2.0.0'
1+
VERSION = '2.1.0'

README.rst

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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``
128128
disabled 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+
130164
Submitting issues
131165
-----------------
132166

0 commit comments

Comments
 (0)