https://git.reactos.org/?p=reactos.git;a=commitdiff;h=42ec1388d7206cefce620…
commit 42ec1388d7206cefce62012547a89807a68dc321
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Wed May 26 10:48:29 2021 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed May 26 10:48:29 2021 +0200
[NTOS:IO] Break on IoRaiseInformationalHardError
This one will eventually be reverted. For now, this will help debugging CORE-17587
---
ntoskrnl/io/iomgr/error.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ntoskrnl/io/iomgr/error.c b/ntoskrnl/io/iomgr/error.c
index 312b29f942a..7f33cac131d 100644
--- a/ntoskrnl/io/iomgr/error.c
+++ b/ntoskrnl/io/iomgr/error.c
@@ -712,6 +712,9 @@ IoRaiseInformationalHardError(IN NTSTATUS ErrorStatus,
IN PKTHREAD Thread)
{
DPRINT1("IoRaiseInformationalHardError: %lx, '%wZ'\n", ErrorStatus,
String);
+#if DBG
+ __debugbreak(); /* CORE-17587 */
+#endif
return FALSE;
}