Re: [fpc-pascal] TPersistent overhead

2016-03-26 Thread Ryan Joseph
Great, thanks Michael. I had another idea. Is it really required to subclass TPersistent for RTTI information or can I just use {$M+} on the units that I need and leave the class hierarchy the same? > On Mar 26, 2016, at 6:00 PM, fpc-pascal-requ...@lists.freepascal.org wrote: > > On Sat, 26 Ma

Re: [fpc-pascal] [heaptrc] no output for weblaz projects.

2016-03-26 Thread leledumbo
> Thanks, I tried that but it still does not work. But I discovered that's > because the program is never terminated gracefully. Stopping the > debugger after the html page is displayed (if ran from Lazarus) or using > Ctrl+C (if ran from the command line) does not fill heap.trc. > > However u

Re: [fpc-pascal] TPersistent overhead

2016-03-26 Thread Graeme Geldenhuys
On 2016-03-26 04:45, Ryan Joseph wrote: > unfortunately the way my code is written I need to basically make all > my classes descend from TPersistent, even classes that don’t need > RTTI information. Depending on your needs, you don't need to descend from TPersistent just to get RTTI information i

Re: [fpc-pascal] [heaptrc] no output for weblaz projects.

2016-03-26 Thread Thierry B.
Le 26/03/2016 11:46, Graeme Geldenhuys a écrit : add the fcl-web source path to your project Thanks, I tried that but it still does not work. But I discovered that's because the program is never terminated gracefully. Stopping the debugger after the html page is displayed (if ran from Lazarus

Re: [fpc-pascal] [heaptrc] no output for weblaz projects.

2016-03-26 Thread Graeme Geldenhuys
On 2016-03-25 22:02, Thierry B. wrote: > Now I try fcl-web applications (curently fphttpapp) and... heaptrc does > not work. It's because the FCL code is not heaptrc enabled. Simply add the fcl-web source path to your project and recompile. Regards, - Graeme - -- fpGUI Toolkit - a cross-plat