Bug 252353

Summary: [Win] ASSERT() on Windows fires silently if caller has set up a SEH frame
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: don.olmstead, Hironori.Fujii, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Brent Fulgham 2023-02-15 15:00:13 PST
If code in the callchain has set up a structured exception handling frame with __try/__except, exceptions will fire silently, causing code to get killed and execution to mysteriously continue.

This can happen if we are called back from another DLL, called from a Windows WM_TIMER callback, or called on a secondary thread.

We should consider implementing ASSERT() on Windows with a mechanism as described in:
http://www.codeproject.com/KB/debug/DebugBreakAnyway.aspx

<rdar://8033688>