Re: g_debug as bug fixer?



Any ideas?

Most likely you cause a heap corruption in your code, which then can
cause seemingly random behaviour later in the program's execution.
(For instance such randomness that adding some g_debug() calls seem to
"fix" your problem.) Use valgrind.

--tml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]