I'm currently facing an issue with tracking down where exactly an array is being destroyed in my project and I'm wondering if this could be adapted to work with arrays or structs.
I've tried everything I can imagine, but this array is just being reset to an empty array somehow.
I've tried putting in checks everywhere on every type of step event, but it seemed to happen after the draw_gui_end and before the begin_step events. I'm sure I could try checking every call of deleting values or clearing an array, but that could take large amounts of time.