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


Groups > comp.lang.java.programmer > #28201

Re: Yet another debugging technique

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Yet another debugging technique
Date 2014-04-23 08:47 -0700
Organization Canadian Mind Products
Message-ID <ponfl91l7flb573eoltqdmchkgbe2af3tn@4ax.com> (permalink)
References <99ffl9d6hmvrgh58bbc58rus6f8n016gdg@4ax.com> <5357d24e$0$2897$e4fe514c@news.xs4all.nl>

Show all headers | View raw


On Wed, 23 Apr 2014 16:46:37 +0200, Silvio <silvio@internet.com>
wrote, quoted or indirectly quoted someone who said :

>Unless you would have some really crappy code most IO calls in an HTML 
>generating application would be inside a very small general purpose 
>utility class. You would need an entire stack trace at every output 
>position to be able to actually pinpoint a bug.

I think, in practice, the depth of the stack you want too sample is
constant.  Perhaps if it is variable, the code would have to set it
dynamically, yuch!  Perhaps the snapshot taker could be given a list
of methods NOT of interest. When it hits one, it snapshots one deeper
in the stack.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
"Don't worry about people stealing an idea; if it's original, you'll
 have to shove it down their throats." 
~ Howard Aiken (born: 1900-03-08 died: 1973-03-14 at age: 73)

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Yet another debugging technique Roedy Green <see_website@mindprod.com.invalid> - 2014-04-23 06:35 -0700
  Re: Yet another debugging technique Silvio <silvio@internet.com> - 2014-04-23 16:46 +0200
    Re: Yet another debugging technique Roedy Green <see_website@mindprod.com.invalid> - 2014-04-23 08:47 -0700
    Re: Yet another debugging technique Roedy Green <see_website@mindprod.com.invalid> - 2014-04-23 09:36 -0700

csiph-web