Commit 5fa2d1ea authored by Łukasz Nowak's avatar Łukasz Nowak

- use simpler implementation, only IPython is needed, not ipdb


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26540 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86f3851a
......@@ -837,12 +837,14 @@ class ERP5TypeTestCase(PortalTestCase):
raise
def stepPdb(self, sequence=None, sequence_list=None):
try:
import ipdb as pdb
"""Invoke debugger"""
try: # try ipython if available
import IPython
IPython.Shell.IPShell(argv=[])
tracer = IPython.Debugger.Tracer()
except ImportError:
import pdb
pdb.set_trace()
pass
from pdb import set_trace as tracer
tracer()
def stepTic(self, **kw):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment