Skip to content

Latest commit

 

History

History
188 lines (94 loc) · 5.25 KB

PyIRemoteDebugApplication.md

File metadata and controls

188 lines (94 loc) · 5.25 KB

PyIRemoteDebugApplication

PyIRemoteDebugApplication Object

Description of the interface

Methods

CauseBreak() Causes the application to break into the debugger at the earliest opportunity.

Comments

Note that a long time may elapse before the application actually breaks, particularly if

the application is not currently executing script code.

ConnectDebugger(pad) Connects a debugger to the application.

Parameters

Comments

Only one debugger may be connected at a

time; this method fails if there is already a debugger connected.

PyIRemoteDebugApplication.CreateInstanceAtApplication

PyIUnknown = CreateInstanceAtApplication(rclsid, pUnkOuter

, dwClsContext

, riid

) Create objects in the application process address space.

Parameters

  • rclsid : PyIID

    Description for rclsid

  • pUnkOuter : PyIUnknown

    Description for pUnkOuter

  • dwClsContext : int

    Description for dwClsContext

  • riid : PyIID

    Description for riid

Comments

Provides a mechanism for the debugger IDE, running out-of-process to the

application, to create objects in the application process.

This method simply delegates to CoCreateInstance.

PyIRemoteDebugApplication.DisconnectDebugger

DisconnectDebugger() Disconnects the current debugger from the application.

PyIRemoteDebugApplication.EnumGlobalExpressionContexts

IEnumDebugExpressionContexts

= EnumGlobalExpressionContexts() Enumerates all global expression contexts

PyIEnumRemoteDebugApplicationThreads = EnumThreads() Enumerates all threads known to be associated with the application.

Comments

New threads may be added at any time.

PyIApplicationDebugger = GetDebugger() Returns the current debugger connected to the application.

GetName() Description of GetName.

PyIDebugApplicationNode = GetRootNode() Returns the application node under which all nodes associated with the application are added.

QueryAlive() Returns True if alive, else False.

PyIRemoteDebugApplication.ResumeFromBreakPoint

ResumeFromBreakPoint(prptFocus, bra, era) Continue an application which is currently in a breakpoint.

Parameters