Well spotted Ron, I had forgotten about that development.
The setting used are also included in pics and interestingly I already had those setting enabled in my development environment but no line numbers as the "wrong" versions used.
Not so much 'wrong' as not new enough ? I also suspect that Lazarus 3.4 would be new enough, the important thing is FPC trunk.
The post you referred me to spoke of having to use the trunk version(s). I tried to install the trunks of both Laz & FPC using FPCUpDeluxe but found that anchor docking although installed did not do any docking so that test was abandoned so I cannot say whether the current trunk would show line numbers or not.
I'd suggest that using trunk-trunk for development work, especially for release might be a bit brave. Just keep the bleeding edge kit for leak detection. Have your anchor docking in the fpc-fixes/lazarus-3.4 tool chain.
I do find it surprising that this subject has been spoken of many times and that there IS a solution but it remains something of a mystery
Its only a mystery because no one has documented the process (other than a forum posts). Right now, you appear to be the resident expert on the topic, please consider documenting what you find.
In addition there are many unfreed blocks that do not refer to any of my code. These I do not understand at all. Next I shall review my code in the light of the line numbered dumps to see if I can reduce the magnitude of the problem. Maybe some more posts will follow as I try to make sense of it.
They are possibly fpc units called from your code. Do you have the rtl/fcl compiled with debug information ? I suspect fpupdeluxe won't do that ? My approach, and only because its my way of thinking, is to start with a fpc322 (probably from tarball but it does not particularly matter) and use that to build both a debug trunk FPC and a trunk Lazarus.
The real innovation of that other post was processing the dump outside of lazarus. Its not particularly startling, its just having all that stuff happening within Lazarus has made us soft !
If you are getting even some line numbers, and they are correct, then please consider a step by step documentation on the wiki. I'm happy to help there necessary. The others who follow will thank you !
Davo