Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » asm int 3, abort();
asm int 3, abort(); [message #10420] Sun, 08 July 2007 13:31 Go to previous message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

#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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 64bit pointers
Next Topic: Gate() or flow control problem
Goto Forum:
  


Current Time: Sat Jul 19 12:10:16 CEST 2025

Total time taken to generate the page: 0.03893 seconds