Subj : Re: Exception occurs only when run outside the debugger *confused* To : comp.programming From : James Dow Allen Date : Tue Aug 23 2005 11:19 pm > My program throws an exception coming from the glibmm > library when I start it normally. However, when I run it > with the debugger (KDbg), it > runs just fine! (no exception thrown). > > I am using g++ 3.3.5. Does anyone have an idea how odd > behavior like this can happen, generally? In C, use of automatic variables before initialization is a common source of such anomalies. Use of uninitialized malloc'ed variables, or array index out of bounds are other possibilities. Use of threads or longjmps could also be culprit; any other possibilities, anyone? James .