I have a c++ project where the beahviour in debug and release mode differs. E.g. in release mode i get bad alloc errors wheras in debug mode everthing runs fine. Maybe this difference comes from different runtime speed.
Do you have any tips and hints how to debug a program without a standard debugger (like gdb)? I could try to cout a lot in critical areas but that seems not be the smartest way to go... Maybe there is a way to get some information about locations of some kinds of errors without using debugging symbols? Are there any tools?