133 Commits

Author SHA1 Message Date
Ram Rachum
7392765ada Bump version 2019-07-30 11:14:05 +03:00
Ram Rachum
814abc34a0 Support single tuple to custom_repr, fix #144 2019-07-30 11:14:35 +03:00
Ram Rachum
11b9f27bec Bump version 2019-07-17 09:31:20 +03:00
Ram Rachum
c2e44fb583 Improve ensure_tuple 2019-07-17 09:32:19 +03:00
Ram Rachum
de4027c0ef Improve tests bundling for Fedora 2019-06-19 19:56:44 +02:00
Ram Rachum
f585746da7 Bump version 2019-06-18 20:35:19 +02:00
Ram Rachum
78a539a2a5 Massaging some code 2019-06-18 20:34:25 +02:00
pikez
b4c8c16ed9 remove setup function and description 2019-06-18 20:34:25 +02:00
pikez
08375e1a86 support activate and deactivate snooper by environment variable and setup snooper global or in-scope 2019-06-18 20:34:25 +02:00
Ram Rachum
3cc81f4b7a Bump version 2019-06-15 15:56:34 +02:00
Ram Rachum
f793796ad3 Removing python_toolbox test dependency 2019-06-15 15:56:34 +02:00
Ram Rachum
43bde4b8bf Bump version to 0.1.0 2019-05-30 09:05:47 +03:00
Xiang Gao
5546468d60 Update utils.py 2019-05-30 09:03:52 +03:00
Xiang Gao
7c7e7eb81a Changes according to review 2019-05-30 09:02:11 +03:00
Xiang Gao
4a32e77b33 Add support for custom repr 2019-05-30 09:02:11 +03:00
Ram Rachum
22019f16ae Bump version 2019-05-20 13:53:51 +03:00
Ram Rachum
56f22f8ffe Fix unicode issues and add test, fix #124 2019-05-20 11:42:39 +03:00
Ram Rachum
f12d40bbe4 Massage code, bump version 2019-05-14 17:48:37 +03:00
Alexander Bersenev
4e9c29cb58 move the type difference declaration to pycompat 2019-05-14 17:47:33 +03:00
Alexander Bersenev
a73ea14f58 get rid from six module 2019-05-14 17:47:33 +03:00
Alex Hall
d200457d63 Handle overwriting in FileWriter instead of Tracer 2019-05-11 20:18:37 +03:00
Ram Rachum
57283caf47 Bump version 2019-05-11 15:10:00 +03:00
Nikita Melentev
5698d6c3e2 Support generators 2019-05-11 15:09:37 +03:00
Ram Rachum
669863a65f Formatting 2019-05-11 14:29:57 +03:00
Ram Rachum
c7b5a2e515 Move docstring to class 2019-05-11 14:29:23 +03:00
Ram Rachum
9a2889d02f Bump version 2019-05-11 14:26:00 +03:00
Alexander Bersenev
bf52d30d91 Make vars_order line a bit shorter
Co-Authored-By: Alex Hall <alex.mojaki@gmail.com>
2019-05-11 14:25:47 +03:00
Alexander Bersenev
c976a185bb Join two lines in get_local_reprs 2019-05-11 14:25:47 +03:00
Alexander Bersenev
cb280323e5 Don't always place new variables before the modified ones 2019-05-11 14:25:47 +03:00
Alexander Bersenev
49f7dd504b Move one string of code down in get_local_reprs 2019-05-11 14:25:47 +03:00
Alexander Bersenev
472985a32c Simplify parameters sorting 2019-05-11 14:25:47 +03:00
Alexander Bersenev
3121842110 Make frame_to_local_reprs a dict
Co-Authored-By: Alex Hall <alex.mojaki@gmail.com>
2019-05-11 14:25:47 +03:00
Alexander Bersenev
1cd2dffa13 Rewrite get_local_reprs to use sort explicitely 2019-05-11 14:25:47 +03:00
Alexander Bersenev
17d8a41b3b Restore cell vars support in the ordered printing. 2019-05-11 14:25:47 +03:00
Alexander Bersenev
e4cd9974b2 Simplify the new and modified values reporting. 2019-05-11 14:25:47 +03:00
Alexander Bersenev
92ff55d2f1 Make predictable order of items if we don't know the proper order.
Also fix tests
2019-05-11 14:25:47 +03:00
Alexander Bersenev
f4117c1565 Preserve the local variables order in the output.
The variables are outputed in the declare order, instead of alphabetical.

This causes function arguments to be printed in the declare order.
All watched variables are outputted after declared ones.
2019-05-11 14:25:47 +03:00
Alex Hall
f6001ce3b1 Fix opcode lookup in Python 2 2019-05-11 13:34:55 +03:00
Alex Hall
d24f9e3846 Log exceptions nicely 2019-05-11 13:34:55 +03:00
Alex Hall
6553cd50f0 Store depth globally to indent correctly in all cases 2019-05-11 09:38:09 +03:00
Alex Hall
8f91784821 Indent based on how many calls are currently being traced 2019-05-11 09:38:09 +03:00
Alex Hall
1bcaea2059 Remove decorator module, use functools.wraps 2019-05-10 21:25:23 +03:00
Ram Rachum
a11b42c6fd Bump version 2019-05-10 20:49:53 +03:00
Alex Hall
af76e55aef Truncate long variables in the middle 2019-05-10 20:48:09 +03:00
Alex Hall
a5eb93ac62 Delete frames when exiting to free up memory 2019-05-10 20:38:53 +03:00
Hervé Beraud
fae0ce0c76 Add support for thread identifiers
Display thread infos (identifier and name) on output to help
user to track execution on apps who use threading.
2019-05-10 18:57:50 +03:00
Alex Hall
2801ce0c0e Keep proper track of previous tracing functions 2019-05-10 18:54:20 +03:00
Ram Rachum
7d807e834f Remove space 2019-05-10 13:28:17 +03:00
Ram Rachum
002f3354ba Bump version 2019-05-09 09:20:12 +03:00
Ram Rachum
0482853d96 Remove reprlib because it's not reliable for simple cases 2019-05-09 09:15:59 +03:00