Home » U++ Library support » U++ Core » asm int 3, abort();
asm int 3, abort(); [message #10420] |
Sun, 08 July 2007 13:31 |
|
#ifndef __NOASSEMBLY__
#if defined(_DEBUG) && defined(CPU_X86)
#ifdef COMPILER_MSC
_asm int 3
#endif
#endif
#endif
#else
write(2, msg, strlen(msg));
write(2, "\n", 1);
#endif
LOG(GetLastErrorMessage());
abort();
better would be to use with MSVC:
Microsoft Specific
Causes a breakpoint in your code, where the user will be prompted to run the debugger.
<intrin.h>
void __debugbreak();
is similar to: __asm { int 3 }} on an x86 computer.
[Updated on: Sun, 08 July 2007 13:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 08:00:32 CET 2024
Total time taken to generate the page: 0.01344 seconds
|