DebugClients/Python/DebugClient.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) 2003 - 2017 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the standard debug client.
"""

from DebugBase import DebugBase
from DebugClientBase import DebugClientBase
from ThreadExtension import ThreadExtension


class DebugClient(DebugClientBase, DebugBase, ThreadExtension):
    """
    Class implementing the client side of the debugger.
    
    This variant of the debugger implements the standard debugger client
    by subclassing all relevant base classes.
    """
    def __init__(self):
        """
        Constructor
        """
        DebugClientBase.__init__(self)
        
        DebugBase.__init__(self, self)
        
        ThreadExtension.__init__(self)
        
        self.variant = 'Standard'

# We are normally called by the debugger to execute directly.

if __name__ == '__main__':
    debugClient = DebugClient()
    debugClient.main()

#
# eflag: noqa = M702

eric ide

mercurial