UNKNOWN
Project description
PyTraceTable is a tool for scripting and script debugging. It aims to make a line-by-line debugging easier.
Take a look:
from pytracetable import tracetable
@tracetable()
def some_weird_calculation(a, b):
c = 10 + a
b *= 2
c += b
del b
return a + c
Then, calling some_weird_calculation(5, 10)
will give the output:
--------------------------------------------------
At some_weird_calculation, line 3
[ADDED] a (int): 5
[ADDED] b (int): 10
--------------------------------------------------
At some_weird_calculation, line 4
[ADDED] c (int): 15
--------------------------------------------------
At some_weird_calculation, line 5
[CHANGED] b: 10 (int) --> 20 (int)
--------------------------------------------------
At some_weird_calculation, line 6
[CHANGED] c: 15 (int) --> 35 (int)
--------------------------------------------------
At some_weird_calculation, line 7
[REMOVED] b
[RETURNED] 40 (int)
Contribute
Did you think in some interesting feature, or have you found a bug? Please let me know!
Of course you can also download the project and send me some pull requests.
You can send your suggestions by opening issues.
You can contact me directly as well. Take a look at my contact information at http://filwaitman.github.io/ (email is preferred rather than mobile phone).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytracetable-0.2.tar.gz
(4.0 kB
view hashes)