Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
re-enable COR_PRF_DISABLE_ALL_NGEN_IMAGES to ignore all NGENd images …
Browse files Browse the repository at this point in the history
…(even NGEN /Profile images) #188
  • Loading branch information
sawilde committed Dec 15, 2013
1 parent 29e7f8b commit 46c82b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/OpenCover.Profiler/CodeCoverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ HRESULT STDMETHODCALLTYPE CCodeCoverage::Initialize(
if (m_profilerInfo4 != NULL)
{
ATLTRACE(_T(" ::Initialize (m_profilerInfo4 OK)"));
//dwMask |= COR_PRF_ENABLE_REJIT;
//dwMask |= COR_PRF_DISABLE_ALL_NGEN_IMAGES;
dwMask |= COR_PRF_DISABLE_ALL_NGEN_IMAGES;
}
#endif
COM_FAIL_MSG_RETURN_ERROR(m_profilerInfo2->SetEventMask(dwMask),
Expand Down

0 comments on commit 46c82b9

Please sign in to comment.