DebugClients/Python/DebugConfig.py

Sun, 05 Mar 2017 16:16:46 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 05 Mar 2017 16:16:46 +0100
branch
maintenance
changeset 5591
ac539bb30eb1
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
permissions
-rw-r--r--

Don't update currentFrame when in a breakpoint or exception. Otherwise unpredictable frames could be shown.
(grafted from f8abf5f741efd7e7ee364fa6ea7b2df27ded8d9e)

# -*- coding: utf-8 -*-

# Copyright (c) 2005 - 2017 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module defining type strings for the different Python types.
"""

#
# Keep this list in sync with Debugger.Config.ConfigVarTypeFilters
#
ConfigVarTypeStrings = [
    '__', 'NoneType', 'type',
    'bool', 'int', 'long', 'float', 'complex',
    'str', 'unicode', 'tuple', 'list',
    'dict', 'dict-proxy', 'set', 'file', 'xrange',
    'slice', 'buffer', 'class', 'instance',
    'method', 'property', 'generator',
    'function', 'builtin_function_or_method', 'code', 'module',
    'ellipsis', 'traceback', 'frame', 'other', 'frozenset',
    # Special case for Python 2: don't add 'instancemethod' to
    # ConfigVarTypeFilters and leave it always at last position
    'instancemethod'
]

#
# eflag: noqa = M702

eric ide

mercurial