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


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

Re: program that ain't crash inside debugger

From Victor Bazarov <v.bazarov@comcast.invalid>
Newsgroups comp.lang.c++
Subject Re: program that ain't crash inside debugger
Date 2011-03-31 14:04 -0400
Organization A noiseless patient Spider
Message-ID <in2fmi$rjp$1@dont-email.me> (permalink)
References <67b37922-93e3-45b9-bc88-0a5990041cc2@n2g2000prj.googlegroups.com> <73ae9c50-8e26-4d71-9ca0-f825a6ea411e@a19g2000prj.googlegroups.com>

Show all headers | View raw


On 3/31/2011 1:51 PM, console kid wrote:
> any idea how could I pinpoint the error?
> It's silent inside the debugger and it crashes when I
> laugh it independently.How  can I debug this?

How about adding some debug printouts?  In the old days that *was* the 
debugger...  And yes, that can mess up your program too by changing the 
way the code is optimized.

V
-- 
I do not respond to top-posted replies, please don't ask

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