The ExecuteSourceLine method of the IJavaEventMonitor interface is called by the Microsoft VM to notify the profiler when the execution of a source line is about to occur. The Microsoft VM passes in a MethodID for the method that is executing and a line number of the source line that is about to be executed. This method is not currently implemented.
HRESULT ExecuteSourceLine(MethodID method_id, DWORD line_number);
[in] method_id | The MethodID of the method that is executing. |
[in] line_number | The line number of the source line that is about to be executed. |
The profiler can call the MethodInformation method implemented by the Microsoft VM to retrieve information about this MethodID. In particular, MethodInformation will return source line information and the execution model for this method (interpreted, fast-interpreted, JIT-compiled, native Win32, or COM).