
🏳️⚧️ call me ashley / emily! mediocre artist and programmer // alt: @fnfin3d // Play beatblock play beatblock play beatblock
- Tweets1.8K
- Following118
- Followers2.9K
- Likes4.6K
![A screenshot of a blog post reads: Thus the combined code is: [code starts] #macro trace for (global.__trace_p = _GMFILE_ + ":" + string(_GMLINE_) + ":";;break) __trace function __trace() { var _msg = global.__trace_p; for (var _argi = 0; _argi < argument_count; _argi++) { _msg += " " + string(argument[_argi]); } show_debug_message(_msg); } [code ends] And if you had scr_test with the following inside, [code starts] function scr_test() { scr_test_trace(); trace("hi!"); } function scr_test_trace() { trace("hello!"); } [code ends] the output would be: scr_test:6: hello! scr_test:3: hi!](https://pbs.twimg.com/media/GbeAo11a0AAUpfY.png?name=small&format=webp)
ALT A screenshot of a blog post reads: Thus the combined code is: [code starts] #macro trace for (global.__trace_p = _GMFILE_ + ":" + string(_GMLINE_) + ":";;break) __trace function __trace() { var _msg = global.__trace_p; for (var _argi = 0; _argi < argument_count; _argi++) { _msg += " " + string(argument[_argi]); } show_debug_message(_msg); } [code ends] And if you had scr_test with the following inside, [code starts] function scr_test() { scr_test_trace(); trace("hi!"); } function scr_test_trace() { trace("hello!"); } [code ends] the output would be: scr_test:6: hello! scr_test:3: hi!




































