posts - 4237, comments - 3946, trackbacks - 370


This was my personal weblog originally hosted by UgiDotNet, written mostly in Italian.

This blog is now part of my new site:
These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employers.

Licenza Creative Commons

Tag Cloud


Post Categories

Usate ancora "int 3"?!?!? Ormai ha fatto il suo tempo... :-)

Soprattutto se volete portare il vostro codice su x64...

Visto che nel codice a 64bit non avete l'inline assembly, dovete usare "__debugbreak()":

This is a Visual C++ compiler intrinsic (defined in Visual C++ 2005 under vc\include\intrin.h, with tons of other cool intrinsics) that will effectively act "int 3" across all platforms. 

DebugBreak, the Win32 function call is still around, but in general using __debugbreak() is my preference, if for no other reason than it's not a function call (it's a compiler intrinsic), and you don't need debug symbols to get a readable call stack.

Fonte: No more "int 3"

Print | posted on giovedì 8 settembre 2005 12:35 |

Comments have been closed on this topic.