SupernaturalCow
Member
Ok so I don't really know how to broach this issue, and I'll probably have to send in a request to YoYo, but I thought I might start here first.
I use a lot of data strucs in my project, and rely on them heavily for nearly everything in the game. I only use maps and lists, and each are nested within each other using the DS 'mark_as' or 'add_as' functions. I can ensure that every map or list is created in this way, as the function I use to create maps and lists uses the nesting function after it. I mention this despite knowing its relevance, because honestly I have no idea why GameMaker might be doing this. The only other thing that I do, that might be out of the ordinary, is that I have been using 'ds_map_create()' as a function parameter for 'ds_list_set'.
As for the issue:
My game runs fine when I run it normally. All the DS' are created and handled as expected, and there are no 'undefined' or 'ds_map doesn't exist!' errors. The problem occurs when I run in Debug Mode. For some reason, it doesn't get past the first few steps, and breaks as soon as it tries to reference a DS it's created previously. The way that it breaks differs occasionally, but it always gets stuck on a DS it's trying to read, saying it doesn't exist. Again, this issue doesn't occur when I run it normally (F5).
Here's the error dump that I'm getting currently:
I use a lot of data strucs in my project, and rely on them heavily for nearly everything in the game. I only use maps and lists, and each are nested within each other using the DS 'mark_as' or 'add_as' functions. I can ensure that every map or list is created in this way, as the function I use to create maps and lists uses the nesting function after it. I mention this despite knowing its relevance, because honestly I have no idea why GameMaker might be doing this. The only other thing that I do, that might be out of the ordinary, is that I have been using 'ds_map_create()' as a function parameter for 'ds_list_set'.
As for the issue:
My game runs fine when I run it normally. All the DS' are created and handled as expected, and there are no 'undefined' or 'ds_map doesn't exist!' errors. The problem occurs when I run in Debug Mode. For some reason, it doesn't get past the first few steps, and breaks as soon as it tries to reference a DS it's created previously. The way that it breaks differs occasionally, but it always gets stuck on a DS it's trying to read, saying it doesn't exist. Again, this issue doesn't occur when I run it normally (F5).
Here's the error dump that I'm getting currently:
Code:
############################################################################################
ERROR in
action number 1
of Step Event0
for object sys:
Data structure with index does not exist.
at gml_Script_scr_update_class_inheritance (line 31) - sv[? "my_parent"] = _par_class_id;
############################################################################################