wholecell.utils

class wholecell.utils.ForkedPdb(completekey=None, stdin=None, stdout=None, context=5, **kwargs)[source]

Bases: Pdb

Usage:

from wholecell.utils import ForkedPdb ForkedPdb().set_trace() ========== Don’t forget to actually instantiate an instance of ForkedPdb when calling set_trace()

Note: Python 3 has a global function breakpoint().

Create a new IPython debugger.

param completekey:

Passed to pdb.Pdb.

type completekey:

default None

param stdin:

Passed to pdb.Pdb.

type stdin:

default None

param stdout:

Passed to pdb.Pdb.

type stdout:

default None

param context:

Number of lines of source code context to show when displaying stacktrace information.

type context:

int

param **kwargs:

Passed to pdb.Pdb.

Notes

The possibilities are python version dependent, see the python docs for more info.

set_trace(frame=None)[source]