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

Re: [OT] C++ templates and debugging (limitations) in Linux

Daniel Burrows wrote:

>   Personally, I almost only use a debugger to get backtraces after a
> crash.  I find logging statements to be easier, more reliable, and more
> useful.  If you write cout<< statements directly into your code, of
> course, it gets cluttered and unwieldly -- I would suggest taking a look
> at a logging framework like log4cxx (available in Debian, even :) ).
> That also means that log statements you insert will stick around for
> later re-use should you ever have more questions about that bit of the
> code.

Very interesting. I think I will take a look see at log4cxx.



Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

Reply to: