From edce4dabac3ddac194692f02be12791dacbb7c19 Mon Sep 17 00:00:00 2001 From: Zasus Date: Sun, 16 Aug 2026 19:20:20 +0100 Subject: [PATCH] add debug_log --- gm82test.gej | 11 +++++++++++ gm82test.gml | 7 +++++++ gm82test_stub.gej | 11 +++++++++++ 3 files changed, 29 insertions(+) diff --git a/gm82test.gej b/gm82test.gej index 7d736ae..ab09c85 100644 --- a/gm82test.gej +++ b/gm82test.gej @@ -69,6 +69,17 @@ ], "returntype": 2 }, + { + "name": "debug_log", + "extname": "", + "calltype": 2, + "helpline": "debug_log(message)", + "hidden": false, + "argtypes": [ + 1 + ], + "returntype": 2 + }, { "name": "test_is_stub", "extname": "", diff --git a/gm82test.gml b/gm82test.gml index 74368fa..3354ffe 100644 --- a/gm82test.gml +++ b/gm82test.gml @@ -66,6 +66,13 @@ benchmark_report(argument0) +#define debug_log + ///debug_log(message) + //message: string to be show in the debug console + //Shows a message in the debug console + show_debug_message(argument0) + + #define trycatch ///trycatch(code/script) //code: string to execute diff --git a/gm82test_stub.gej b/gm82test_stub.gej index 7a81704..5d6d54a 100644 --- a/gm82test_stub.gej +++ b/gm82test_stub.gej @@ -66,6 +66,17 @@ ], "returntype": 2 }, + { + "name": "debug_log", + "extname": "", + "calltype": 2, + "helpline": "debug_log(message)", + "hidden": false, + "argtypes": [ + 1 + ], + "returntype": 2 + }, { "name": "test_is_stub", "extname": "",