Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 136d6c2

Browse files
Cagri Aslancaslan
authored andcommitted
Fixed an issue with getting event size not working for custom notification event
1 parent 0de2be9 commit 136d6c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/debug/shared/dbgtransportsession.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2403,7 +2403,11 @@ DWORD DbgTransportSession::GetEventSize(DebuggerIPCEvent *pEvent)
24032403
case DB_IPCE_GET_GCHANDLE_INFO:
24042404
cbAdditionalSize = sizeof(pEvent->GetGCHandleInfo);
24052405
break;
2406-
2406+
2407+
case DB_IPCE_CUSTOM_NOTIFICATION:
2408+
cbAdditionalSize = sizeof(pEvent->CustomNotification);
2409+
break;
2410+
24072411
default:
24082412
printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));
24092413
_ASSERTE(!"Unknown debugger event type");

0 commit comments

Comments
 (0)