Changed: Replace int 3 asm by __debugbreak()

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 2b155c2d50
commit 2be81c5445

@ -677,7 +677,7 @@ void CFairMutex::debugEndEnter()
if (_Mutex == (void*)0x88)
{
OutputDebugString (str);
if (entered) __asm int 3;
if (entered) __debugbreak();
entered = true;
}
*/
@ -704,7 +704,7 @@ void CFairMutex::debugLeave()
if (_Mutex == (void*)0x88)
{
OutputDebugString (str);
if (!entered) __asm int 3;
if (!entered) __debugbreak();
entered = false;
}
*/

@ -440,10 +440,9 @@ int main(int argc, char **argv)
if (string(cmdline) == "/crash")
volatile int toto = *(int*)0;
if (string(cmdline) == "/break")
__asm
{
int 3
};
{
__debugbreak();
}
#endif // TEST_CRASH_COUNTER
HInstance = hInstance;

Loading…
Cancel
Save