Afficher un message
Vieux 30/10/2007, 00h48   #66
Mark McIntyre
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How can i read the stack frames of running process?

On Mon, 29 Oct 2007 13:26:40 GMT, in comp.lang.c ,
rlb@hoekstra-uitgeverij.nl (Richard Bos) wrote:

>Mark McIntyre <markmcintyre@spamcop.net> wrote:
>
>> rlb@hoekstra-uitgeverij.nl (Richard Bos) wrote:
>>
>> >In this case, __func__ is in the index, while
>> >__FUNCTION__ is not; one look at this index at the start of this whole
>> >useless argument about PDF versus text versus underscores versus
>> >identifiers would have settled the matter.

>>
>> I agree, but I think the point being made is that indices do not index
>> everything, and can thus only tell what _is_ in the book.

>
>A good index,

....
>indexes everything important.

....
>Since __func__ is in it but __FUNCTION__ is not...
>draw your own conclusion.


I agree, but its not a proof and cannot settle the matter.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
  Réponse avec citation
 
Page generated in 0,05072 seconds with 9 queries