Table of Contents

Module: DebugClientThreads eric3/Debugger/DebugClientThreads.py

Module implementing the multithreaded Qt version of the debug client.

Imported modules   
from AsyncIO import *
from DebugBase import *
import DebugClientBase
from DebugThread import *
from qt import PYSIGNAL
import thread
Functions   
DebugClientQAppHook
_debugclient_start_new_thread
  DebugClientQAppHook 
DebugClientQAppHook ()

Module function called by PyQt when the QApplication instance has been created.

  _debugclient_start_new_thread 
_debugclient_start_new_thread (
        target,
        args,
        kwargs={},
        )

Module function used to allow for debugging of multiple threads.

The way it works is that below, we reset thread._start_new_thread to this function object. Thus, providing a hook for us to see when threads are started. From here we forward the request onto the DebugClient which will create a DebugThread object to allow tracing of the thread then start up the thread.

See DebugClientThreads.attachThread and DebugThread.DebugThread in DebugThread.py

Classes   

DebugClientThreads

Class implementing the client side of the debugger.


Table of Contents

This document was automatically generated by HappyDoc version 2.1