[DiscordArchive] Okay, and how would you suggest I fix that?
[DiscordArchive] Okay, and how would you suggest I fix that?
Archived author: RektByFaith • Posted: 2021-06-08T14:38:43.460000+00:00
Original source
Where do I enable it ?
Archived author: stoneharry • Posted: 2021-06-08T14:39:08.550000+00:00
Original source
You just add lines of code that write to the logger, output where it makes sense in the map generator code to see how far it is getting before crashing and what the inputs are to various methods
Archived author: stoneharry • Posted: 2021-06-08T14:39:40.308000+00:00
Original source
Adding log statements is a very standard thing in the programming world
Archived author: stoneharry • Posted: 2021-06-08T14:40:02.253000+00:00
Original source
We can't attach a debugger to a live customer environment for every potential issue, we rely on logs to know what happened
Archived author: Willzor • Posted: 2021-06-08T14:41:18.241000+00:00
Original source
./mapextractor --debug
Archived author: <o> • Posted: 2021-06-08T14:42:05.652000+00:00
Original source
regarding debuggers, for gcc you have gdb and with clang lldb
![[Image: unknown.png?ex=690c0b83&is=690aba03&hm=6...192757443&]](https://cdn.discordapp.com/attachments/415944535718494208/851834033762467850/unknown.png?ex=690c0b83&is=690aba03&hm=6216bfd68e2ce561272cadf23bb1c0acf5e65781b42ccbae5f7d2af192757443&)
Archived author: RektByFaith • Posted: 2021-06-08T14:44:20.673000+00:00
Original source
no gcc X_X
![[Image: unknown.png?ex=690c0b83&is=690aba03&hm=6...192757443&]](https://cdn.discordapp.com/attachments/415944535718494208/851834033762467850/unknown.png?ex=690c0b83&is=690aba03&hm=6216bfd68e2ce561272cadf23bb1c0acf5e65781b42ccbae5f7d2af192757443&)
Archived author: RektByFaith • Posted: 2021-06-08T14:44:41.281000+00:00
Original source
(src of map extractor)
Archived author: stoneharry • Posted: 2021-06-08T14:45:20.930000+00:00
Original source
Go for the debug log approach
Archived author: stoneharry • Posted: 2021-06-08T14:45:30.938000+00:00
Original source
hell even running it with the debug argument like Willzor suggested might give you something to go on