Hi Phil,
On Mon, May 5, 2008 at 2:52 AM, Phil Malin <
philmalin@...> wrote:
> I've tried to debug one of my apps using gdb but to be honest I don't have
> much experience with this debugger and am not getting back too much info
> (the routine it says where it's dying at is just an empty string).
Tip: try using the -g -no_strip flags, you'll have a real backtrace.
If it's GC-related, occurs on OSX but not on BSD, I'm a bit at a loss.
A problem with mark_stack_and_registers() maybe??
> I've
> been able to reproduce the issue easily enough in one of my apps and the
> Eiffel code where it's occurring seems harmless enough - it's simply a
> reference equality check (I determined this using logging statements).
Maybe it's silly, but did you try activating assertions? Something
like -all_check -sedb?
Best regards,
--
Cyril ADRIAN -
http://www.cadrian.net/~cyrilDebugging 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 W. Kernighan