Fix for 0031577 breaks debugging
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
The recently applied fox for 0031577 breaks debugging when include files are used. I have the fpc rtl library compiled with debug on, and stepping into (for example) the SetLength routine fails.
Steps to reproduce:
Set a break on a SetLength() call, and hit step into. The source of fpc_dynarray_setlength should be displayed, but the surrent SVN displays the assembler window.
Additional information:
Looking at the information available in ResolveFromDbg at that point I can see:
FFILENAME = '../inc/dynarr.inc',
FDBGFULLNAME = '/home/me/fpc/trunk.w/fpcsrc/rtl/inc/dynarr.inc'
In this case the DBGFULLNAME needs to be used. I suspect addressing the issue raised in 0031577 will require some conditionals.
Mantis conversion info:
- Mantis ID: 31622
- Version: 1.7 (SVN)
- Fixed in revision: r54572 (#92ebfa01)