Exception occurs only when run outside the debugger *confused*



Hi,

I have a very strange problem here:
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).


This is insane, I wanted to actually *use* the debugger to *find* the error, but then the error only occurs when the debugger is not active?!

I have to say, I'm confused.

I am using g++ 3.3.5. Does anyone have an idea how odd behavior like this can happen, generally? I can post my makefile if that helps.

Thanks in advance,
Matthias
.



Relevant Pages

  • System.OutOfMemory exception: error creating window handle
    ... I've run into a strange problem. ... working with MS SQL Server) ... under the debugger. ... sometimes the following exception is thrown: ...
    (microsoft.public.dotnet.framework)
  • System.OutOfMemory exception: error creating window handle
    ... I've run into a strange problem. ... working with MS SQL Server) ... under the debugger. ... sometimes the following exception is thrown: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.csharp.general)
  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.general)
  • Re: Problem with KITL?
    ... > Enable kernel debugger ... This OK if KdStub stumbling on its own BP. ... Exception in debugger, Addr=0x801AB864 - attempting to recover ...
    (microsoft.public.windowsce.platbuilder)