• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

debugging

  1. FrostyCat

    Beta GMIceCream: Better debugging with ic()

    GMIceCream Better debugging with ic(); Overview GMIceCream is an implementation of the IceCream debug protocol in GML. With just a simple call to the ic function, you can transparently insert debug messages anywhere in your code without ever losing track of where they came from. Downloads /...
  2. Y

    exception_unhandled_handler improvement

    Hi all, When GM crashes on a user's phone, it shows up this moderately useful white-text / black-bg message with the stack trace. This is great, it allows users to screenshot the issue and send it straight to us. This is not always enough, specially when dealing with more insidious crashes...
  3. ReignOnU

    Question - Code Need debug help

    I was trying to debug a for loop and its in the draw event so I can visually see it. I thought I had a nifty plan to put "show_message" to pause the game so I could see the draw updates, but it draws nothing. Instead 0 things are drawn until the end of frame tick. I looked into automatic draw of...
  4. E

    Help with programming text box. "Push :: Execution Error - Variable Index [3] out of range [3] - -1.option(100009,3)"

    Hello, sorry if this is a bit of a dumb question, but this has been irritating me for the past hour or two. I've been following this tutorial: I did everything the guide does up to about 17 minutes into the video, but where his game compiles, mine gives me the above error. Trying to comment out...
  5. jon-mil-1992

    GML Input handling suggestions. Code organization details included.

    So the issue I'm having is that my keyboard_check_released(vk_down) function call is not registering that the down key is being released because of how fast I can press and release the key. I am using that function call to stop crouching, but if I just click the down button really fast, my...
  6. JAG

    Occasionally objects on my map are destroyed randomly

    Im creating a 4 player single-screen deathmatch game. I have a very odd issue where occasionally (very intermittent, maybe one in 20 games) ALL objects of a given `object_index` will suddenly be destroyed. For instance there are "box" objects on the map that can be destroyed by them hitting with...
  7. S

    GameMaker Debugger Producing Different Results to Running Game Normally

    Hi, I'm hoping I'm posting in the right place but it's my first time posting here, so any guidance at all will be appreciated. I've been coding a quiz game in several answer boxes (each eventually to represent a player) are present to enter text (answers to a given questions) into. Should the...
  8. S

    SOLVED "exit" structure exiting too far?

    Hello all, I was testing the exit features, but it seems like the exit feature does not quite work the way I expect it to, see below: if keyboard_check_pressed(ord("E")){ { //this is the beginning of the code block that I expected "exit" to close cs_logAddEntry("exit test has...
  9. A

    SUCCESS: Run Program Complete But debug would not run. Need your knowledge

    Hi, I have a problem that I already mentioned in this title. I press the debug button, then the window to debug would show as below...
  10. E

    Creating A Crash/Exception Handler?

    Before I get too far into making my game, I want to set up some kind of crash or exception handler; A specific Room the player will be teleported to if the game doesn't know where to send them, or some other game breaking error happens. Like the Chris Houlihan room or Sonic 3D's secret level...
  11. V

    Windows Runner.exe exited with non zero

    Hi! I've been working on a project for a month or so now. I ran into a similar issue once before and thought it might have to do with a ds_list not being released correctly. I converted it to an array and that made the issue go away. Reading my output log I don't see anything other than the...
  12. K

    Am I doing this right?

    So I plugged in my phone Target set to my phone I used display_get_width And I pressed f6 And the program pops up in my phone But the width read when hit the break point is my laptop's value What did I do wrong?
  13. R

    Debugging - hierarchical preview structure of object with ds_list

    Hi, I'm trying to look into the more complex hierarchical structure of the object in debug mode, more precisely the ds_list which contains other instances and their variables. Is it even possible? It would help me a lot.
  14. D

    Windows GMS2 Debugger / debug mode don't work on me???

    When I try to dive into a keyboard_Check, it always skips it and ignores every keystroke in the open game window. So what do I have to do with the debugger, if I press the right arrow key then does this variable work as well? in the game itself works the run with the arrow keys but I can not...
  15. Binsk

    GameMaker UBG Terminal / Command Console

    Hello there! How would you like a fully functional in-game terminal running in your project in the next 2 minutes? If that sounds good to you then get your hands on it at one of these places: Yoyo Marketplace [$1.99] Upset Baby Games Store [$0.99 crypto only] Itch.IO Store [$1.00] This is the...
  16. FrostyCat

    Asset - Extension GMAssert: Easy assertion checking for GMS 2.x and 1.4

    GMAssert Easy assertion checking for GMS 2.x and 1.4 Overview GMAssert is a library containing useful assertions for debugging and automated unit testing. You can use it to alert you to undesirable runtime conditions, pause the debugger at that point for further inspection, or quickly test code...
  17. A

    Using debugger for a fatal error -- do I need to crash and rebuild every time?

    I'm trying to fix a stubborn error in my game. When encountered, it generates a fatal error (it says it's trying to access an instance that doesn't exist, even though the debugger clearly shows an instance with that index). Here's my current workflow: Run in Debugger Wait 25 seconds for the...
  18. G

    Discussion Mobile developers should be able to compile to YYC for testing

    YYC and the VM have different behaviors. This is a problem. YYG's position on this problem has fluctuated. I think originally they acknowledged the different behaviors, then for a period they denied that there was any difference, and now recently they've gone back to acknowledging the...
  19. meseta

    Asset - Extension GMDebug: Browser-based debugging

    I originally just wanted a quick and easy way to see my ds_grid data, which GM's debugger doesn't show clearly. I'm aware that there are some marketplace extensions that allow ds_grid printing, but I wanted to do something different. So I built GMDebug, a browser-based tool for inspecting...
  20. samspade

    GML Debug Messages

    Using show_debug_message() GM Version: All Target Platform: All Download: NA Links: NA Summary An explanation of show_debug_message, how to use it, and some helpful utility scripts. Tutorial What show_debug_message Does Debugging is one of the most important skills in coding, and GM comes...
Top