Returns the debug application object associated with this script site.
HRESULT GetApplication( IDebugApplication** ppda );
- ppda
[out] Pointer to the debug application object associated with the script site.
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. |
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.