spotlessmind1975 / ugbasic

An isomorphic BASIC language compiler for retrocomputers
Apache License 2.0
87 stars 14 forks source link

"Enable additional info" setting not saved #918

Closed mzattera closed 1 month ago

mzattera commented 1 month ago

....not sure if this is as desired, however in the IDE, the status of the "Enable additional info" option under Build > Options... menu is not persisted between sessions; once the IDE is closed, the option is reset next time one re-opens the IDE.

Other settings seems to be persisted correctly.

spotlessmind1975 commented 1 month ago

Hi @mzattera and thank you for your kind bug report!

What you describe is indeed the expected behavior. The "Additional info" option was always intended as a (temporary) compile aid, not as a standard mode of operation. This is especially true on Z80 targets, where the process can become slow and expensive with each build. To be fair, this option used to persist between runs. Then a developer pointed out to me the fact that compilation was particularly slow -- not realizing that the reason it was happening was because this option was enabled! Which is why, on each reboot, it is reset to "off".

Thank you again!