[Meta] Debug symbols and log rotation
rkfg
Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow
I won't say for everyone but I'd be glad to help more with debugging having complete stacktraces at the moment of crash. I'm not that familiar with GDB but used it a couple of times to help with some opensource programs written in C/C++. I have no idea about sources leak in case debug symbols would be provided and I don't know if devs are concerned about it but anyway it's just a possibility. A proposal. Linux users at least are used to beta-test everything they have and send detailed bugreports to improve the software, it's kinda lifestyle. Why not use it?
Another issue is logs. They're getting rewritten on each game start so we have no previous copies and it's easy to forget moving log.txt to a safe place after crash. Why not implement a simple log rotation mechanism like many *nix programs have? log.txt becomes log.1.txt, if that file exists it becomes log.2.txt and so on and the oldest one (say log.9.txt) is being deleted. That way we'll always have 10 (or more/less) last log files.
Another issue is logs. They're getting rewritten on each game start so we have no previous copies and it's easy to forget moving log.txt to a safe place after crash. Why not implement a simple log rotation mechanism like many *nix programs have? log.txt becomes log.1.txt, if that file exists it becomes log.2.txt and so on and the oldest one (say log.9.txt) is being deleted. That way we'll always have 10 (or more/less) last log files.
Comments