Skip to content

Commit

Permalink
release v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed May 9, 2020
1 parent 5822c79 commit 8e6e78f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2020-05-09 Xie Yanbo <[email protected]>

* release version 2.1.0
* add step, next, continue, list and longlist commands

2020-05-03 Xie Yanbo <[email protected]>

* release version 2.0.0
Expand Down
2 changes: 1 addition & 1 deletion DebugLibrary/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '2.0.0'
VERSION = '2.1.0'
40 changes: 37 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Or you can run it standalone as a ``RobotFramework`` shell::

$ rfdebug
[...snap...]
>>>>> Enter interactive shell, only accepted plain text format keyword.
>>>>> Enter interactive shell
> help
Input Robotframework keywords, or commands listed below.
Use "libs" or "l" to see available libraries,
Expand All @@ -71,8 +71,8 @@ Or you can run it standalone as a ``RobotFramework`` shell::

Documented commands (type help <topic>):
========================================
EOF d docs exit help k keywords l libs pdb s selenium

EOF continue docs help keywords libs ll n pdb selenium
c d exit k l list longlist next s step
> log hello
> get time
< '2011-10-13 18:50:31'
Expand Down Expand Up @@ -127,6 +127,40 @@ keywords of a library.
``rfdebug`` accept any ``pybot`` arguments, but by default, ``rfdebug``
disabled all logs with ``-l None -x None -o None -L None -r None``.

Step debugging
**************

``DebugLibrary`` support step debugging since version ``2.1.0``.
You can use ``step``/``s``, ``next``/``n``, ``continue``/``c``,
``list``/``l`` and ``longlist``/``ll`` to trace and view the code
step by step like in ``pdb``::

$ robot some.robot
[...snap...]
>>>>> Enter interactive shell
> l
Please run `step` or `next` command first.
> s
.> /Users/xyb/some.robot(7)
-> log to console hello
=> BuiltIn.Log To Console hello
> l
2 Library DebugLibrary
3
4 ** test case **
5 test
6 debug
7 -> log to console hello
8 log to console world
> n
hello
.> /Users/xyb/some.robot(8)
-> log to console world
=> BuiltIn.Log To Console world
> c
>>>>> Exit shell.
world

Submitting issues
-----------------

Expand Down

0 comments on commit 8e6e78f

Please sign in to comment.