Felipe Monteiro de Carvalho het geskryf:
Is anyone using a profiler in Mac OS X? I am trying to detect if there
are memory leaks.
As Jonas mentioned, profilers do not detect memory leaks, but rather the
performance (speed) of your code.
What is wrong with enabling the heaptrc unit (-gh)?
On 03 Sep 2009, at 08:56, Graeme Geldenhuys wrote:
What is wrong with enabling the heaptrc unit (-gh)?
It does not detect memory leaks stemming from memory not allocated via
FPC code. A lot of Mac OS X framework routines return pointers that
you have to retain/release in a balanced way.
Graeme Geldenhuys schreef:
What is wrong with enabling the heaptrc unit (-gh)?
It works only for memory allocated by the fpc heap manager, so a winapi CreateWindow
call, or a gtk gtk_button_new call would create an undetected memory leak, if the
returned handle/pointer is not release
On 03 Sep 2009, at 01:19, ABorka wrote:
There is a \Lib\indymaster-Makefile.fpc but it gives
make -f indymaster-Makefile.fpc all
indymaster-Makefile.fpc:1: *** missing separator. Stop.
Normally, a Makefile.fpc has to be processed first using fpcmake in
order to generate an actual
Is there any parser combinator library for Pascal?
--
View this message in context:
http://www.nabble.com/Parser-combinator-library-tp25271707p25271707.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal
On 03 Sep 2009, at 08:56, Graeme Geldenhuys wrote:
When the application quits, it dumps to the
console the memory leak status and a backtrace of more or less where
they got introduced. The latter is rather a 'hit and miss' situation
What do you mean?
Jonas
On Wed, Sep 02, 2009 at 06:20:17PM -0300, Felipe Monteiro de Carvalho wrote:
Is anyone using a profiler in Mac OS X? I am trying to detect if there
are memory leaks.
gprof doesn't seam to work and valgrind doesn't seams usable from
their readme, so I tryed Sampler from the Developers dir,
Jonas Maebe het geskryf:
What do you mean?
You sometimes get loads of output highlighting several memory leaks. The
backtrace information doesn't always lead tot he exact location where
the memory leak was caused. That's the hit and miss I mentioned.
Sometimes the backtrace is correct and
Vincent Snijders het geskryf:
It works only for memory allocated by the fpc heap manager, so a
winapi CreateWindow call, or a gtk gtk_button_new call would create
Ah OK, I see what you mean. So does profilers like valgrind detect those?
Regards,
- Graeme -
--
fpGUI Toolkit - a
you have to checkout the Tiburon branch - thats what they are working on!
svn://svn.atozed.com/indy/indy10/branches/Tiburon
but do not expect too much! it only works on windows as they are reinventing
the wheel
on iconv support
so far it does not work at least on MACOSX
-- Hinnack
reply to
On Thu, Sep 3, 2009 at 4:55 AM, Jonas Maebejonas.ma...@elis.ugent.be wrote:
It does not detect memory leaks stemming from memory not allocated via FPC
code. A lot of Mac OS X framework routines return pointers that you have to
retain/release in a balanced way.
Yes, my memory leak was not about
Hello,
Someone is posting FPC/Lazarus tutorial videos on youtube:
* the first program: http://www.youtube.com/watch?v=nqph8VGCi40
* printing math - Lazarus: http://www.youtube.com/watch?v=tSLas4KiqVg
* formatting lines - Lazarus: http://www.youtube.com/watch?v=l7p5sQaipYM
* data types and user
leledumbo wrote:
Is there any parser combinator library for Pascal?
Not sure if this is what you're looking for, you might try porting some of
these:
http://www.delphiforfun.org/Programs/Library/Default.htm
Regards,
Funky Beast
___
fpc-pascal
Forgot to mention that I did try that too with not much change in the
results:
fpcmake indymaster-Makefile.fpc
Processing indymaster-Makefile.fpc
i386-win32 requires: rtl,winunits-base,winunits-jedi,fcl-base
Writing Makefile
make all
make.EXE: *** No rule to make target `indysystemfpc.ppu',
Is there a example using FCL-PASSRC?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Thanks, I'll try the Tiburon SVN version of Indy then, but if it doesn't
work on both Windows and Linux it'll be not much use for me until it is
does.
Henrik Genssen wrote:
you have to checkout the Tiburon branch - thats what they are working on!
There's nothing about parser on the website, though the libs are useful.
--
View this message in context:
http://www.nabble.com/Parser-combinator-library-tp25271707p25286863.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
- Original Message -
From: leledumbo leledumbo_c...@yahoo.co.id
To: fpc-pascal@lists.freepascal.org
Sent: Thursday, September 03, 2009 6:25 PM
Subject: [fpc-pascal] Parser combinator library
Is there any parser combinator library for Pascal?
--
Hi :)
What exactly do you mean by
18 matches
Mail list logo