ShowCpuRegisters required for Line numbers?
ShowCpuRegisters required for Line numbers?
Hi,
I received a bug report without line numbers and traced it to ShowCpuRegisters being turned off.
I don't see this mentioned in mad Help, bug or feature?
thanks
Fred
I received a bug report without line numbers and traced it to ShowCpuRegisters being turned off.
I don't see this mentioned in mad Help, bug or feature?
thanks
Fred
Re: ShowCpuRegisters required for Line numbers?
That sounds very weird. You can 100% reproduce that turning ShowCpuRegisters off will make line numbers stop working?
Re: ShowCpuRegisters required for Line numbers?
I could when I posted the msg now I can't. Not only does it work now on new builds but on old builds that I have submissions in FogBugz with missing line numbers. Those machines with FogBugz submission are in different countries and on different OS versions and of course the builds I have archived where used to do the initial testing..madshi wrote:That sounds very weird. You can 100% reproduce that turning ShowCpuRegisters off will make line numbers stop working?
Magic!
Re: ShowCpuRegisters required for Line numbers?
madshi wrote:Weird!!
Re: ShowCpuRegisters required for Line numbers?
Well, "Data.DB" and "DBAccess" are Embarcadero units, I think? Or 3rd party, but not yours? All the precompiled Embarcadero units will show no line numbers, unless you activate the option to use "Debug DCUs" in the project options.
Re: ShowCpuRegisters required for Line numbers?
It seems the line number column his hidden when this happens and visible when it includes my code or at least code that was compiled into the App. That would explain why I haven't seen the line numbers in the last few submissions.madshi wrote:Well, "Data.DB" and "DBAccess" are Embarcadero units, I think? Or 3rd party, but not yours? All the precompiled Embarcadero units will show no line numbers, unless you activate the option to use "Debug DCUs" in the project options.
The problem though is that the line column is hidden even when my code is in the callstack. Not among the top 5 but just below that. Like this:
main thread ($858):
008909db 012b app.exe Data.DB DatabaseError
008af87a 003a app.exe Data.DB TDataSet.CheckActive
010b1314 0004 app.exe DBAccess TCustomDADataSet.CheckActive
008b625f 000f app.exe Data.DB TDataSet.CheckBrowseMode
010b7238 0088 app.exe DBAccess TCustomDADataSet.FindKey
0129224e 001e app.exe DataMod TDataDM.UserGroupSIDExists <<
...
Re: ShowCpuRegisters required for Line numbers?
Is there a line number in the bug report text file in this case?
Re: ShowCpuRegisters required for Line numbers?
No, and I just realized that DBAccess although third party was also compiled into the app from source.
Re: ShowCpuRegisters required for Line numbers?
Does the map file created by Delphi contain line number information for these units? Of course checking that only makes sense if you can reproduce the missing line number problem with a freshly compiled version of your EXE on your development PC.
Re: ShowCpuRegisters required for Line numbers?
I use Build Groups to create the Release version, it appears that in Berlin Update 1 the map file does not include all the line numbers. If I Build the same configuration via the IDE all Works!
From IDE: Search "Line numbers for" (1413 hits in 1 file)
From Build Group: Search "Line numbers for" (127 hits in 1 file)
Thanks EMB, and from now on I am saving MAP files with the archived Release EXEs.
Sorry about that..
From IDE: Search "Line numbers for" (1413 hits in 1 file)
From Build Group: Search "Line numbers for" (127 hits in 1 file)
Thanks EMB, and from now on I am saving MAP files with the archived Release EXEs.
Sorry about that..
Re: ShowCpuRegisters required for Line numbers?
No problem, glad to hear you found the cause of the problem.