diff options
author | Andrew Au <andrewau@microsoft.com> | 2018-08-07 16:55:21 -0700 |
---|---|---|
committer | Andrew Au <cshung@gmail.com> | 2018-11-06 18:34:47 -0800 |
commit | 4143a9c607a387d16ffa724e37596501bb7e22f2 (patch) | |
tree | bf5bc9e8e5537546f6fad81fe1ce610514085aad /src/debug/di | |
parent | e467645dbefa58e144a42c3b742cee859b68d55d (diff) | |
download | coreclr-4143a9c607a387d16ffa724e37596501bb7e22f2.tar.gz coreclr-4143a9c607a387d16ffa724e37596501bb7e22f2.tar.bz2 coreclr-4143a9c607a387d16ffa724e37596501bb7e22f2.zip |
Turn GarbageCollection events off by default and allow VS turning them on
Diffstat (limited to 'src/debug/di')
-rw-r--r-- | src/debug/di/process.cpp | 5 | ||||
-rw-r--r-- | src/debug/di/rspriv.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp index 99e5aa4ede..1411857636 100644 --- a/src/debug/di/process.cpp +++ b/src/debug/di/process.cpp @@ -2557,6 +2557,11 @@ COM_METHOD CordbProcess::GetContainingObject(CORDB_ADDRESS interiorPointer, ICor return hr; } +COM_METHOD CordbProcess::EnableGCNotificationEvents(BOOL fEnable) +{ + return this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable); +} + #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL COM_METHOD CordbProcess::InvokePauseCallback() diff --git a/src/debug/di/rspriv.h b/src/debug/di/rspriv.h index d0a10bed64..4cccb4ccf0 100644 --- a/src/debug/di/rspriv.h +++ b/src/debug/di/rspriv.h @@ -3139,6 +3139,7 @@ public: // ICorDebugProcess10 //----------------------------------------------------------- COM_METHOD GetContainingObject(CORDB_ADDRESS interiorPointer, ICorDebugObjectValue** ppContainingObject); + COM_METHOD EnableGCNotificationEvents(BOOL fEnable); #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL // --------------------------------------------------------------- |