2015-03-22 17:44 GMT-03:00 luiz americo pereira camara <[email protected]>:
> > > > 2015-03-22 16:59 GMT-03:00 luiz americo pereira camara <[email protected]> > : > >> >> >> 2015-03-22 16:32 GMT-03:00 Mattias Gaertner <[email protected]>: >> >>> On Sun, 22 Mar 2015 10:15:23 -0300 >>> > Is this a bug ? >>> >>> Probably. Do you know how to reproduce it? >>> >> >> > fUnitName is set to empty at LoadFromXMLConfig, but at the time of saving > fUnitName gets its correct value 'PatientClasses'. Could not detect where > gets the correct value. Breakpoints at ImproveUnitNameCache, SetUnitName, > ReadUnitSource and LoadFromXMLConfig > > In the case of 'PatientClasses' the FUnitName is set through ReadUnitNameFromSource. Follows backtrace. I think i can reproduce now. If i do i will create a bug report #0 TUNITINFO__SETFUNITNAME(0x15984878 'PatientClasses', <error reading variable>) at project.pp:1996 #1 TUNITINFO__READUNITNAMEFROMSOURCE(false, <error reading variable>) at project.pp:1626 #2 TFILEOPENER__OPENKNOWN(<error reading variable>) at sourcefilemanager.pas:849 #3 TFILEOPENER__OPENEDITORFILE(-1, 0, 0x158c63c8, [OFPROJECTLOADING..OFONLYIFEXISTS, OFMULTIOPEN], <error reading variable>) at sourcefilemanager.pas:1157 #4 OPENEDITORFILE(0x15882278 'D:\repositories\nefrolog\lclclient\models\patientclasses.pas', -1, 0, 0x158c63c8, [OFPROJECTLOADING..OFONLYIFEXISTS, OFMULTIOPEN], true) at sourcefilemanager.pas:338 #5 TLAZSOURCEFILEMANAGER__INITOPENEDPROJECTFILE(0x15674318 'D:\repositories\nefrolog\lclclient\NefroLog.lpi', [OFADDTORECENT], <error reading variable>) at sourcefilemanager.pas:3406 #6 TMAINIDE__DOOPENPROJECTFILE(0x15674318 'D:\repositories\nefrolog\lclclient\NefroLog.lpi', [OFADDTORECENT], <error reading variable>) at main.pp:6319 #7 TLAZSOURCEFILEMANAGER__OPENPROJECT(0x155b31d0, <error reading variable>) at sourcefilemanager.pas:3778 Luiz
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
