lptrace
lptrace copied to clipboard
Trace any Python program, anywhere!
I figured this out by inspecting the `err` result of `p.communicate()` on line 86. It would be nice if that were printed :)
When I use lptrace, i just simply run `python lptrace -p 21640`. But this command just hang forever. When i add some print log in lptrace like this ` signal.signal(signal.SIGINT,...
1. replase optparse with argparse because we introduced mutually exclusive options 2. refactor `runfile` so we can make block FIFO works 3. add `-s` option to print stacktrace for all...
I tried running this trivial Python program with `lptrace`: $ cat loop_forever.py #! /usr/bin/env python import os print os.getpid() while True: pass I ran it: $ ./loop_forever.py 25116 then I...
Still compatible with python2. Compatibility applies to both this program and the programs it targets. Fixes #4
I attached to Guake and then pressed Ctrl-C. Guake is closed. **Expected result:** guake continue to work (guake version - 0.8.8, lptrace - 1.0) https://dl.dropboxusercontent.com/1/view/k5kard6wqahrskb/Apps/Shutter/%C3%90%C2%92%C3%91%C2%8B%C3%90%C2%B4%C3%90%C2%B5%C3%90%C2%BB%C3%90%C2%B5%C3%90%C2%BD%C3%90%C2%B8%C3%90%C2%B5_003.png
``` Traceback (most recent call last): File "lptrace", line 116, in main() File "lptrace", line 112, in main strace(pid) File "lptrace", line 50, in strace runfile(pid, trace_code) File "lptrace", line...