[DiscordArchive] Is your code public?
[DiscordArchive] Is your code public?
Archived author: Natrist • Posted: 2023-12-07T14:06:26.963000+00:00
Original source
Is your code public?
Archived author: Natrist • Posted: 2023-12-07T14:06:46.917000+00:00
Original source
If it doesn't require any special data I can debug it right now for you. I've got time on my hands.
Archived author: Rymercyble • Posted: 2023-12-07T14:07:21.644000+00:00
Original source
its not and i would rather learn how to do it myself for future cases
Archived author: Natrist • Posted: 2023-12-07T14:07:30.742000+00:00
Original source
Are you using CLion?
Archived author: Rymercyble • Posted: 2023-12-07T14:07:33.798000+00:00
Original source
yes
Archived author: Natrist • Posted: 2023-12-07T14:07:44.104000+00:00
Original source
OK, here's what you want to do:
![[Image: Screenshot_2023-12-07_at_9.08.27_AM.png?...8d6db0de8&]](https://cdn.discordapp.com/attachments/284323424032129024/1182322762753245226/Screenshot_2023-12-07_at_9.08.27_AM.png?ex=690c0321&is=690ab1a1&hm=fe29142962251ad756024e5ba79ab7ff6f8ba16a176954a14c365aa8d6db0de8&)
Archived author: Natrist • Posted: 2023-12-07T14:08:33.127000+00:00
Original source
![[Image: Screenshot_2023-12-07_at_9.08.27_AM.png?...8d6db0de8&]](https://cdn.discordapp.com/attachments/284323424032129024/1182322762753245226/Screenshot_2023-12-07_at_9.08.27_AM.png?ex=690c0321&is=690ab1a1&hm=fe29142962251ad756024e5ba79ab7ff6f8ba16a176954a14c365aa8d6db0de8&)
Archived author: Natrist • Posted: 2023-12-07T14:09:48.328000+00:00
Original source
Attach to process and when it crashes it will pause the program flow and you can view different things like the call stack, variables, etc.
Archived author: Natrist • Posted: 2023-12-07T14:10:19.779000+00:00
Original source
This allows you to step into functions in whatever order and get a good idea of what was going on at the time it crashed and just moments before.
Archived author: Natrist • Posted: 2023-12-07T14:11:01.015000+00:00
Original source
Just from looking at the screen shot you posted above, I can see the Player destructor being called twice. That shouldn't happen, so I'm not sure why that is but I'm guessing it's probably related to your issue.