Mail Archives: djgpp-workers/1996/04/14/01:49:50
On Fri, 12 Apr 1996, Bill Currie wrote:
> On 12/4/96 5:46 am, Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ> did thus say >>>
> > Well, I found the cause of the debuggers crashing... uprintf was using a 100 byte buffer
> for
> > all its printing needs. I bumped ubuf to 2k and the debuggers stopped crashing. Even
> with
> > 16k, fsdb still displays the bogus exceptions frequently. I havent found out why yet.
> >
>
> I left ubuf's size set at 4k, which SHOULD be enough (unless somebody starts usings lists of
> lists of lists.... or somesuch).
Why does it have to be constant? Why not make the debugger enlarge the
buffer if it isn't large enough? IMHO putting arbitrary constant limits
into a program is just leaving bugs that wait to bite you.
- Raw text -