Show a debug message in the compiler window.


GML Code Example


Argument Description
string The custom debug message to show.

Returns: N/A


This function will create a custom debug message that is shown in the compiler window at runtime.


GML Code Example

if !instance_exists(obj_Exit)
    show_debug_message("Exit not created!");

The above code checks to see if an instance exists and if it does not, a debug message is shown in the compile window and the game is ended.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here