[lazarus] Heaptrc
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Nov 8 19:20:12 EST 2003
On Sat, 08 Nov 2003 18:15:15 -0600
Bob Wingard <bwingard at gt.rr.com> wrote:
> I have to start the program outside the IDE. If I start inside the IDE
> the debugger tries to start but loops,
Hmm, a debugger that loops is buggy itself.
Marc, maybe we should add some smarter functions to read big call stacks.
> my processor maxes out and
> Lazarus just hangs. I have not tried to start gdb from the command line
> yet.
Please do so.
> If I compile without Heaptrc then everything works fine.
Maybe you want to try the memcheck unit in the components/units dir of
lazarus. Dont add the heaptrc unit and add memcheck as the very first unit
in the lpr file.
Mattias
>
> Bob
>
> On Sat, 2003-11-08 at 18:09, Mattias Gaertner wrote:
> > On Sat, 08 Nov 2003 16:29:24 -0600
> > Bob Wingard <bwingard at gt.rr.com> wrote:
> >
> > > Any time I try and link with heaptrc the resulting application raises
> > > and exception as soon as it starts, followed by a very long stack
> > > trace. I tried it with the default new application in Lazarus to see
> > > if it was something in my code and I got the same result. What am I
> > > missing?
> >
> > Can you debug the program? Where does it stop?
> >
> > Mattias
> >
> >
> >
> > >
> > > Mandrake Linux 9.2 Stock kernel
> > > CVS version of Lazarus.
> > > FPC version 1.0.10 [2003/06/26] for i386
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.lazarus.freepascal.org/mailarchives
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
--
More information about the Lazarus
mailing list