Adds a stack frame enumerator provider to this application.
HRESULT AddStackFrameSniffer( IDebugStackFrameSniffer* pdsfs, DWORD* pdwCookie );
- pdsfs
[in] The stack frame enumerator provider to add to this application.
- pdwCookie
[out] A cookie that is used to remove this stack frame enumerator provider from the application.
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. |
Although language engines typically call this method to expose their stack frames to the debugger, it is possible for other entities to expose stack frames.