Partager via


IActiveScriptSiteDebug32::GetApplication

Returns the debug application object associated with this script site.

Syntax

HRESULT GetApplication(  
   IDebugApplication**  ppda  
);  

Parameters

ppda
[out] Pointer to the debug application object associated with the script site.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.
E_NOTIMPL The host does not directly support debugging.

Remarks

The GetApplication method provides a way for a smart host to define the application object to which each script belongs. Script engines should attempt to call this method to get their containing application and resort to IProcessDebugManager::GetDefaultApplication if this fails.

See also

IActiveScriptSiteDebug32 Interface
IProcessDebugManager::GetDefaultApplication