
6 Jan
2009
6 Jan
'09
8:46 a.m.
* Thijs Koerselman [2009-01-05 21:23]:
Sorry it DOES work. When i step over the last assignment to the end of the function block, XCode doesn't update the value of ret in the debugging window. It still displays 0xdeadbeaf, even though the value has changed. So it did return a value. I wonder if this is intended. I can't think of a good reason why XCode it would work like that.
That could be an optimisation. Do you compile with -O0 (or without any -O)? Regards, Bernhard