Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the profiler that you have started profiling on all applicable scripting engines. By using this method, you can obtain the complete call stack if JavaScript is running when you start profiling.
HRESULT CompleteProfilerStart();
The method does not take any parameters.
Returns an HRESULT. Possible values are as follows:
Return value | Meaning |
---|---|
S_OK |
The method succeeded. |
E_FAIL |
Profiling cannot be started. |
S_FALSE |
Profiling was started when a script was not running. |
ACTIVPROF_E_PROFILER_ABSENT |
Profiling is not enabled. No callback has been set. |
E_OUTOFMEMORY |
The call stack cannot be obtained because of an out-of-memory condition. |
Calling IActiveScriptProfilerControl2::CompleteProfilerStart
ensures that events for functions already in the call stack are sent. This method has to be called after profiling starts on any scripting engine that is on the current tab. The method can be called for any scripting engine.
IActiveScriptProfilerControl2::PrepareProfilerStop
IActiveScriptProfilerControl2 Interface