#file-path #parser #file-line #gml #game-maker

gml_log_parser

A small library for parsing the convoluted callstacks GameMaker outputs and translating them into VSC-friendly paths to the file/line in question

1 unstable release

0.1.1 May 2, 2024

#5 in #game-maker


Used in adam

MIT/Apache

16KB
334 lines

gml_log_parser

A small library for parsing the convoluted callstacks GameMaker outputs and translating them into VSC-friendly paths to the file/line in question.

// Before
 "gml_Script_anon@9061@anon@9032_anon@9004_anon@8977_gml_Object_obj_example_Create_0:288"
 "gml_Object_obj_example_Step_2:7"
 "gml_Script_anon@11365@foobar_ScriptExample:347",

// After
"objects/obj_example/Create_0.gml:288:0"
"objects/obj_example/Step_2.gml:7:0"
"script/ScriptExample/ScriptExample.gml:347:0"

Dependencies

~6–9.5MB
~156K SLoC