[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb and iterators
From: |
Bernd Strieder |
Subject: |
Re: gdb and iterators |
Date: |
Tue, 11 May 2004 08:47:21 +0200 |
User-agent: |
KNode/0.7.2 |
llewelly wrote:
> Personally, I almost never use gdb for debugging C++ code;
> cerr << "my message" ; seems less painful.
It is a lot easier, if you prepare some print member functions at handy
places to be called from gdb from the beginning. The cerr<< trick has
the big disadvantage, that turn-around is too slow, if you have to add
one cerr after the other to get all the information you need.
Bernd Strieder