PyIDebugApplication.GetCurrentThread

PyIDebugApplicationThread = GetCurrentThread()

Returns the application thread object associated with the currently running thread.