Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Space Tracer

Trade Time for Space When You Debug

The Space Tracer displays what happens to your code so you can read through it like a book, instead of stepping through it like most debuggers. For example, here's a simple script that assigns a variable, then loops a few times making changes to that variable, before printing out the final message.

message = 'Hello, World'
for i in range(3):
    message += '!'
print(message)

A regular debugger would let you set break points, look at variable values, and step through the code. Space Tracer shows you the code with all of the variable assignments, and the loop iterations in columns. Here, you see the script on the left, and the variable values and loops on the right, so you can read through what happened, like reading a book.

message = 'Hello, World' | message = 'Hello, World' 
for i in range(3):       | i = 0                     | i = 1                      | i = 2 
    message += '!'       | message = 'Hello, World!' | message = 'Hello, World!!' | message = 'Hello, World!!!' 
print(message)           | print('Hello, World!!!') 

You can run Space Tracer as a command-line tool, or you can use it in the Live Coding in Python plugins for PyCharm, Emacs, and Sublime Text.

Installing Space Tracer

Use pip to install it:

$ pip install git+https://github.com/donkirkby/live-py-plugin

Then copy the script above into a file called hello.py, and run it with the space_tracer command:

$ space_tracer hello.py
message = 'Hello, World' | message = 'Hello, World' 
for i in range(3):       | i = 0                     | i = 1                      | i = 2 
    message += '!'       | message = 'Hello, World!' | message = 'Hello, World!!' | message = 'Hello, World!!!' 
print(message)           | print('Hello, World!!!') 
$

Release files for space-tracer 3.0b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for space-tracer 3.0b0
File Size Uploaded
space_tracer-3.0b0.tar.gz 31.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for space-tracer 3.0b0
File Interpreter ABI Platform
space_tracer-3.0b0-py3-none-any.whl Python 3 none any Details

Total release size: 63.0 kB

Release files / space_tracer-3.0b0.tar.gz

Download URL space_tracer-3.0b0.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a6e5bc57409a572598b1aa4d805fa7912d23088d9947caaf9314faef846d3f6
BLAKE2b-256 checksum
How to use checksums
2dcf92eadde7093708a83a4f76df2e70d275242fd6504ce4739cc14126b8dc62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

Release files / space_tracer-3.0b0-py3-none-any.whl

Download URL space_tracer-3.0b0-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddcf927691a8894020fb2cce9e12cc11776ed68c9ad61677d33de9c6fac3c783
BLAKE2b-256 checksum
How to use checksums
c2d4821f4b9dda4f5c324fb83008d2c2c5349f6c1c5d2ee4624eb87f8af03610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

Release history Release notifications | RSS feed

4.13.0

2 release files

4.12.0

2 release files

4.10.1

2 release files

4.9.0

2 release files

4.8.0

2 release files

4.7.0

2 release files

4.5.0

2 release files

4.4.0

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

This release

3.0b0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page