When calling TryLookup, or when cancelling an Async exception, there are a lot of debug spew under a debugger, for example:
MyDll.dll!00007FFFC056E0E6: ReturnHr(201) tid(8f20) 8000000B The operation attempted to access data outside the valid range
Msg:[winrt::hresult_error: The operation attempted to access data outside the valid range]
(8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance)
(8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance)
(8d78.8f20): C++ EH exception - code e06d7363 (first chance)
(8d78.8f20): C++ EH exception - code e06d7363 (first chance)
path\to\file.cpp(825)\MyDll.dll!00007FFFC058C923: (caller: 00007FFFC03A4A39) LogHr(139) tid(8f20) 800704C7 The operation was canceled by the user.
Msg:[winrt::hresult_error: The operation was canceled by the user.]
(8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance)
(8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance)
(8d78.8f20): C++ EH exception - code e06d7363 (first chance)
(8d78.8f20): C++ EH exception - code e06d7363 (first chance)
we should reserve the ability for developers to opt out of this noisy RoOriginate spew in these two scenarios.
Version
No response
Summary
When calling TryLookup, or when cancelling an Async exception, there are a lot of debug spew under a debugger, for example:
MyDll.dll!00007FFFC056E0E6: ReturnHr(201) tid(8f20) 8000000B The operation attempted to access data outside the valid range Msg:[winrt::hresult_error: The operation attempted to access data outside the valid range] (8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance) (8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance) (8d78.8f20): C++ EH exception - code e06d7363 (first chance) (8d78.8f20): C++ EH exception - code e06d7363 (first chance) path\to\file.cpp(825)\MyDll.dll!00007FFFC058C923: (caller: 00007FFFC03A4A39) LogHr(139) tid(8f20) 800704C7 The operation was canceled by the user. Msg:[winrt::hresult_error: The operation was canceled by the user.] (8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance) (8d78.8f20): Windows Runtime Originate Error - code 40080201 (first chance) (8d78.8f20): C++ EH exception - code e06d7363 (first chance) (8d78.8f20): C++ EH exception - code e06d7363 (first chance)
we should reserve the ability for developers to opt out of this noisy RoOriginate spew in these two scenarios.