diff --git a/src/platform-win32.cc b/src/platform-win32.cc index 292c24a3da..f52bb43d9c 100644 --- a/src/platform-win32.cc +++ b/src/platform-win32.cc @@ -1010,6 +1010,9 @@ void OS::Abort() { void OS::DebugBreak() { #ifdef _MSC_VER + // To avoid Visual Studio runtime support the following code can be used + // instead + // __asm { int 3 } __debugbreak(); #else ::DebugBreak();