Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #2931

Re: program that ain't crash inside debugger

From "Default User" <defaultuserbr@yahoo.com>
Newsgroups comp.lang.c++
Subject Re: program that ain't crash inside debugger
Date 2011-03-31 12:26 -0500
Message-ID <8vjrq8Fs1bU1@mid.individual.net> (permalink)
References <67b37922-93e3-45b9-bc88-0a5990041cc2@n2g2000prj.googlegroups.com>

Show all headers | View raw


"console kid" <sandundhammikaperera@gmail.com> wrote in message 
news:67b37922-93e3-45b9-bc88-0a5990041cc2@n2g2000prj.googlegroups.com...
> Hi all, I'm using GNU G++ for my development.
> I have write a simple test case.The program runs and exited normally
> inside
> the debugger (GDB) but when I tries to run it without debugger it
> crashes.
> I can't pinpoint the error.
>
> Any new idea how to overcome this problem? Any debugging tip is fine.

Frequently, debugger runs will do things like initialize automatic 
variables. I'd look for one that was used without intializing.



Brian

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

program that ain't crash inside debugger console kid <sandundhammikaperera@gmail.com> - 2011-03-31 05:20 -0700
  Re: program that ain't crash inside debugger Puppet_Sock <puppet_sock@hotmail.com> - 2011-03-31 07:10 -0700
  Re: program that ain't crash inside debugger "Default User" <defaultuserbr@yahoo.com> - 2011-03-31 12:26 -0500
  Re: program that ain't crash inside debugger console kid <sandundhammikaperera@gmail.com> - 2011-03-31 10:51 -0700
    Re: program that ain't crash inside debugger Victor Bazarov <v.bazarov@comcast.invalid> - 2011-03-31 14:04 -0400
    Re: program that ain't crash inside debugger drew@furrfu.invalid (Drew Lawson) - 2011-03-31 18:10 +0000
    Re: program that ain't crash inside debugger "Balog Pal" <pasa@lib.hu> - 2011-03-31 20:21 +0200

csiph-web