1. O

    SOLVED struct order out of whack and stepping through commented lines

    I'm still fairly new to structs, but I'm coming across a couple things that are frustrating and confusing, and I'm wondering where I'm doing something wrong. Primary problem: My struct is not ordered in the same order I created it, reducing readability during verification/debugging. Secondary...
  2. Jihl

    I just made a little "debug visual project"

    Hey there everyone, I just made a project which wants to represent that you can also debug your game in joy. ------- ------- ------ Here is the link to the video Debug project video This is only 3 days of programming, not anything fancy, but still I'd like to share it because I'm trying to...
  3. Pelican Police

    Windows Detect if game is compiled, or was launched via IDE (script)

    GM Version: 1.4 + 2? Target Platform: Windows Download: N/A Links: N/A Summary: Is your game compiled for deployment as an .exe, or is it being launched through game maker's IDE? Code: ///game_is_compiled() /* Returns if the game is running via the IDE or if it's compiled */ // Is the game...
  4. PrismaticRealms

     PRDebugConsole: A premium real-time *DEBUG CONSOLE* for GMS 2.3+.

    Hello everyone! We are developing a premium real-time debug console for #GameMaker 2.3+. Please enjoy this entertaining demo preview! Feedback is most welcome! (Note: The following video features the console with it's previous prototype "AMOS Pro" skin. :))
  5. Yizzard

    Windows Changing the output location of compiled debug builds or setting a max number of saved builds

    Hi so I have no idea how I can't find this information anywhere as I feel like this should be a problem that affects a lot of people but often when I work for a long time my computer will run out of space because all of the debug builds (I'm not sure if that's the right word, but the game builds...
  6. Scienitive

    GMS 2.3+ Step Back in Debugger?

    Is there a way to step backwards in debugger mode to see what cause my bug exactly?
  7. Q

    SOLVED Can't get alarm to work when player is still

    Hello. :) I'm trying to make a textbox pop up when my player has been still for a little while. I've tried this a few ways, using the GMS2 alarms and writing our own alarm code but even the debug message isn't working. I have an obj called objPlayerPopups and in its STEP we have //make standing...
  8. b-wb

    Debug Profiler shows DrawTheRoom being called twice-- what would I have done to make that happen?

    Hello everyone I'm working right now on trying to optimize my game and looking at performance hogs. Strangely, it looks like in the debug profiler "DrawTheRoom" and everything that falls in it is happening twice. Rather than launching into an explanation of my game's graphical code, I am...
  9. W

    Need a little help after updating GM2

    Hey, After updating GM2, #region and #endregion do not work for me, including ones that worked before the update. Looked for a preference check box and searched the readme for the update and can't find anything. Also, the workspace does not correct my code as I program any more. Not sure...
  10. UberhenriK

    SOLVED ds_grid_height argument 1 incorrect type (undefined) expecting a Number (YYGI32)

    Hello, I've created an inventory ds_grid for my game and a script that must get ds_grid as an argument, but it gives me an error: ds_grid_height argument 1 incorrect type (undefined) expecting a Number (YYGI32) at gml_GlobalScript_AddItem (line 18) - for (i = 0; i <...
  11. Daniel Mallett

    GMS 2.3+ Debugging

    Is there a way to artificially slow down my game significantly so I can see what's happening? I'm not familiar with the profiling tools (in any language) I never quite got the hang of it. I guess I could use a timer but wanted to know if there was a better way of doing this.
  12. X

    GMS 2.3+ Watch doesn't work?

    I was trying to track the global lives variable with a watch while debugging and added a new watch with the name of lives When i hit the breakpoint after decreasing lives nothing happens in the watch to see the state of the value Is this broken or does it work some other way?
  13. Luis Otavio Afonso

    Asset - Scripts Codeshark

    With Codeshark you can execute functions using small codes, using a command line interface, which also works on touchscreen devices. It can be used for infinite lives, changing levels, adding items, invincibility and everything else you need. And once the tests are finished, just disable...
  14. b-wb

    Question - IDE When opening in debug mode, my game sends me into the 2nd room, when opening normally, it sends me to the 1st room

    Hey all This is a really weird one! I'm new to using the debugger in GMS2 so perhaps this is something that others understand and can explain to me. My game starts in an initialization room where it loads everything. As you can see here, the room order shows the tutorial room second. But...
  15. N

    Is there a way to time code? My A* is too slow.

    Hi guys, so I've implemented A* for my hex grid, but it's too slow, as in, it's causing noticeable lag. Note that each run of it isn't terribly slow, but I have to run it across ds_lists that can get up to a hundred entries long (using it as a pathfinding check). If this were python, I'd throw...
  16. M

    Help in identifying memory leak?

    Firstly, I also posted on Legacy Tech Support, not sure where this one belonged...! Hey guys, possibly dealing with my first memory leak ever here. C: drive space lost permanently everytime I launch my game. In Debug mode right at game start, the Graph starts going way up and hits the roof soon...
  17. M

    [SOLVED] Help in identifying memory leak?

    Hey guys, possibly dealing with my first memory leak ever here. C: drive space lost permanently everytime I launch my game. In Debug mode right at game start, the Graph starts going way up and hits the roof soon after the game has started. At the start of the game, I only have the randomize()...
  18. Dwighty4000

    GMS 2 debugging - how to find a instance

    How can I find this "global.sprache" in the watches window? because I cannot find them under "instances" and I have to have an overview of their changing value during the debugging process! But where is the "global.sprache" in the watches window and by the way! How can I enter by myself a own...
  19. Cupid Stunt

    GML Trouble with fps_real

    I'm having issues using fps_real. If I use it to keep time I get a divide by zero error. If I try to print it to the debug console every second I get a non_init error as shown below. I am running the game from the IDE. I would like to use fps_real to keep time in my games in case...
  20. Daniel Mallett


    Is it possible to not only watch a variable for changes but when it does change, show you the line of code that caused it to change? This would be invaluable knowledge if it's possible. Thanks in advance.