diff options
author | Matthias (think) <matthias@mpb.li> | 2012-07-12 17:26:03 +0200 |
---|---|---|
committer | Matthias (think) <matthias@mpb.li> | 2012-07-12 17:26:03 +0200 |
commit | cabc9bae0fa07ad5ead4c117dd97efff03f10aad (patch) | |
tree | d34295b8f53b869cbd8641874a4f0c3dc8eef2fb /eti-udp/ipdb.py | |
parent | cb513c28ae81bc1109d35d1900b958e5db43c47d (diff) | |
download | mmbtools-aux-cabc9bae0fa07ad5ead4c117dd97efff03f10aad.tar.gz mmbtools-aux-cabc9bae0fa07ad5ead4c117dd97efff03f10aad.tar.bz2 mmbtools-aux-cabc9bae0fa07ad5ead4c117dd97efff03f10aad.zip |
added experimental UDP application protocol
Diffstat (limited to 'eti-udp/ipdb.py')
-rw-r--r-- | eti-udp/ipdb.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/eti-udp/ipdb.py b/eti-udp/ipdb.py new file mode 100644 index 0000000..b431f80 --- /dev/null +++ b/eti-udp/ipdb.py @@ -0,0 +1,11 @@ +import sys +from IPython.Debugger import Pdb +from IPython.Shell import IPShell +from IPython import ipapi + +shell = IPShell(argv=['']) + +def set_trace(): + ip = ipapi.get() + def_colors = ip.options.colors + Pdb(def_colors).set_trace(sys._getframe().f_back) |