• Alex Brainman's avatar
    runtime: allow OutputDebugString to be sent to debugger · 2ed209ea
    Alex Brainman authored
    We mark DBG_PRINTEXCEPTION_C messages in VEH handler
    as handled, thus preventing debugger from seeing them.
    I don't see reason for doing that. The comment warns
    of crashes, but I added test and don't see any crashes.
    
    This is also simplify VEH handler before making
    changes to fix issue 8006.
    
    Update #8006
    
    LGTM=rsc
    R=golang-codereviews, rsc
    CC=golang-codereviews
    https://golang.org/cl/146800043
    2ed209ea
os_windows_amd64.c 3.37 KB