Table of Contents

Module: DebugClientThreads ./Debugger/DebugClientThreads.py

Module implementing the multithreaded Qt version of the debug client.

Imported modules   
from AsyncIO import *
from Config import ConfigVarTypeStrings
from DebugProtocol import *
from DebugThread import DebugThread
import codeop
import os
from qt import PYSIGNAL
import select
import socket
import string
import sys
import thread
import traceback
Functions   
DebugClientQAppHook
DebugClientRawInput
_debugclient_start_new_thread
printerr
  DebugClientQAppHook 
DebugClientQAppHook ()

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

  DebugClientRawInput 
DebugClientRawInput ( prompt )

Replacement for the standard raw_input builtin.

This function works with the Qt event loop.

  _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 DebugClient.attachThread and DebugThread.DebugThread in DebugThread.py

  printerr 
printerr ( s )

Module function used for debugging the debug client.

Arguments

s
the data to be printed
Classes   

DebugClient

Class implementing the client side of the debugger.


Table of Contents

This document was automatically generated on Fri Mar 14 19:54:45 2003 by HappyDoc version 2.1