Add debug version of RTL and allow easy switching
- Lazarus/FPC Version: Lazarus 2.3.0 (rev Unknown) FPC 3.2.2 i386-win32-win32/win64
- Operating System: w10
- CPU / Bitness: 32
What happens
The shipped RTL is a release version. It does not have debug info, does not support stepping in, stack trace line numbers, etc.
When e.g. TStringList.LoadFromFile
raises an exception, debugger does not shows where it's raised.
What did you expect
Standard 'debug' compilation should be against the debug version of RTL. Project options should include the switch for that. Attached screenshot of this function in Delphi.
Steps to reproduce
TStringList.Create().LoadFromFile('qwe');
Edited by duzenko