1 Jun
2003
1 Jun
'03
16:57
Does anyone have suggestions for a good way to find out what (local) pointers are pointing at what items on the heap? I have a bug in a program that's almost certainly caused by two pointers pointing to the same object when they should be pointing to separate ones. Treat this as a 'newbie' question. The answer might be a debugger, but I haven't had a bug serious enough to use a debugger in four years - one of the benefits of using c++ - so I've forgotten how to use one. I usually just print variables to stdandard output. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.