Re: function pointers
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Mon, 07 Jan 2008 17:57:20 +1300
cr88192 wrote:
Why not assert(0), so you get the file and line without having to use a
there are different ways to invoke crashes, but the one I typically use is
this:
*(int *)-1=-1;
debugger?
on linux, this option works better though, since linux crashes give aI pity those poor windows developers :)
general debugger-usable core dump (sadly absent on windows...).
--
Ian Collins.
.
- Follow-Ups:
- Re: function pointers
- From: CBFalconer
- Re: function pointers
- From: cr88192
- Re: function pointers
- References:
- function pointers
- From: hifrnds007
- Re: function pointers
- From: Tomás Ó hÉilidhe
- Re: function pointers
- From: Michal Nazarewicz
- Re: function pointers
- From: Tomás Ó hÉilidhe
- Re: function pointers
- From: Ark Khasin
- Re: function pointers
- From: cr88192
- function pointers
- Prev by Date: Re: function pointers
- Next by Date: Re: RotateLeft, what does it do?
- Previous by thread: Re: function pointers
- Next by thread: Re: function pointers
- Index(es):