diff options
author | Cagri Aslan <caslan@microsoft.com> | 2015-10-22 13:20:23 -0700 |
---|---|---|
committer | Cagri Aslan <caslan@microsoft.com> | 2015-10-22 13:20:23 -0700 |
commit | c2f0c1f843257959066e710ecbf677860f75a289 (patch) | |
tree | 70f2780c4663f3f2399d4e049e4307e179bc50b1 /src/debug | |
parent | 3ddea17fc4e5b0c9ff2cb0651be82594a0eddffb (diff) | |
parent | 136d6c24026f003a894ec1ea207d6fdcb3329949 (diff) | |
download | coreclr-c2f0c1f843257959066e710ecbf677860f75a289.tar.gz coreclr-c2f0c1f843257959066e710ecbf677860f75a289.tar.bz2 coreclr-c2f0c1f843257959066e710ecbf677860f75a289.zip |
Merge pull request #1840 from caslan/customnotificationfix
Fixed an issue with getting event size not working for custom notific…
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/shared/dbgtransportsession.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/debug/shared/dbgtransportsession.cpp b/src/debug/shared/dbgtransportsession.cpp index 664fe6f535..83335d1860 100644 --- a/src/debug/shared/dbgtransportsession.cpp +++ b/src/debug/shared/dbgtransportsession.cpp @@ -2403,7 +2403,11 @@ DWORD DbgTransportSession::GetEventSize(DebuggerIPCEvent *pEvent) case DB_IPCE_GET_GCHANDLE_INFO: cbAdditionalSize = sizeof(pEvent->GetGCHandleInfo); break; - + + case DB_IPCE_CUSTOM_NOTIFICATION: + cbAdditionalSize = sizeof(pEvent->CustomNotification); + break; + default: printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK)); _ASSERTE(!"Unknown debugger event type"); |