[Lazarus] heaptrc - Is it even worth using?

Lee Jenkins lee at datatrakpos.com
Mon Oct 5 19:22:37 CEST 2009


Luiz Americo Pereira Camara wrote:
> Lee Jenkins escreveu:
>> Michael Van Canneyt wrote:
>>   $00546A31
>>   $00422EBB  TMAPPINGREADER__LOADMAPPINGS,  line 66 of 
>> M:/lazarus/projects/flexserver/src/flex_mapping_reader.pas
>>   $00422C86  TFORM1__BUTTON1CLICK,  line 40 of main_form.pas
>>   $004C0BB4  TCONTROL__CLICK,  line 2227 of ./include/control.inc
>>   $0050352F  TBUTTONCONTROL__CLICK,  line 72 of 
>> ./include/buttoncontrol.inc
>>   $005039F5  TCUSTOMBUTTON__CLICK,  line 164 of ./include/buttons.inc
>> //.. etc, etc.
>>
>> As you can see, its the same thing, repeatedly and unfortunately, it 
>> doesn't make any sense to me where the rest of execution is going.  I 
>> am using TXMLDocument in the "LoadMappings" method which is the only 
>> thing that I can think of (code below).
>>
>> Maybe its related to this?
>> http://bugs.freepascal.org/view.php?id=13605
>>
>> The only thing is that I have updated my lazarus with a latter 
>> snapshot but I guess it could be the same thing maybe.
>>
>> My version is 9.27 rev. 21413 so it looks doubtful that is the problem 
>> but I cannot say for sure.
>>
>> procedure TMappingReader.RegisterMappings; 
> 
> It should not be LoadMappings method?
> 

Luiz,

As it turns out, it was my use of TXMLDocument inside of LoadMappings, but the 
heaptrc output did not include mention of TXMLDocument or related objects to 
infer it was the problem or related to the problem.

Thank you,

--
Warm Regards,

Lee




More information about the Lazarus mailing list