[Patch] Setup/initial dialog: check for debugger and make check in GUI instead of silently changing config
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Further checking in --setup dialog:
Added GUI checks for valid make location (instead of silently changing settings)
Added GUI checks for valid debugger location (similarly to the existing make checks), including
- primary config path
- secondary config path
- searching in current default Lazarus installer location
- searching for proposed new Windows installer in issue 22533 (that uses targetos/targetcpu macros). Even if 22533 is not implemented, this searching will not harm users
- searching in fpc bin directory
- searching in history
- searching in path
Changed sddqIncomplete image from error to warning (e.g. happens when make.exe not in fpc bin dir, as e.g. happens in default fpcup installs): the configuration can still work, but is not certain to work. Showing an error would be too harsh.
Steps to reproduce:
Tested on Win32 Lazarus with debugger set up as in issue 22533. Works.
Additional information:
Related to (and parent of: that issue needs this patch): 22533: [Patch] Set up windows installer to allow multiple debuggers using (TargetCPU)-
(TargetOS)
Don't know why widths & heights change => presumably due to using Laz 1.1 instead of older versions? In any case, I did not change widths and heights manually.
Mantis conversion info:
- Mantis ID: 22539
- OS: Windows
- OS Build: Vista
- Build: 38091
- Platform: x64
- Version: 1.1 (SVN)