MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Developer Discussion v
« Previous 1 … 12 13 14 15 16 Next »
Debug Mode Gamemaker, what is it?
MFGG Forums MFGG Developer Discussion v
« Previous 1 … 12 13 14 15 16 Next »
Debug Mode Gamemaker, what is it?
MFGG Forums MFGG Developer Discussion v
« Previous 1 … 12 13 14 15 16 Next »
Debug Mode Gamemaker, what is it?
Mark All Posts Read Today's Posts

Debug Mode Gamemaker, what is it?
United States VinnyVideo
Can't have an avatar without a Shy-Guy
Site Developer
Main Site Moderator Site Developer/Webmasters Wiki SysOp Big Help Submitter Super Reviewer (2) Wiki Contributor Sprite Comp Runner-Up Minigame Comp Winner Minigame Comp Runner-Up Minigame Comp Top 5 (3) Music Comp Winner Music Comp Runner-Up Music Comp Top 5 (2) Drawing Comp Top 5 Game of the Month Winner NCFC Contributor (4) Secret Santa (5) MFGG 17th Anniversary MFGG 18th Anniversary MFGG 19th Anniversary Ye Olde MFGGe Retro Game Jam Participant MFGG Awards 2010 Winner MFGG Awards 2011 Winner MFGG Awards 2012 Winner MFGG Awards 2013 Winner MFGG Awards 2014 Winner MFGG Awards 2015 Winner MFGG Awards 2017 Winner (3) MFGG Awards 2019 Winner MFGG Awards 2024 Winner
#2
12-17-2017, 09:40 PM (This post was last modified: 12-17-2017, 09:41 PM by VinnyVideo.)
A good question. Typically I use Debug Mode to watch a specific variable (whether a global variable or an object's local variable) and see what events cause it to change. For example, suppose I'm making a boss, but the boss can't be defeated for some reason. I might watch the "hp" variable for the boss and see which events cause hp to go down. This helps me narrow down the problem.

Debug Mode also lets you modify variables in game using the Execute Code dialog box. For example, if I'm tinkering with my code in Cheerwine Deluxe 3, I could type "global.debug = 1" into the Execute Code dialog box, and that would enable the game's special debug mode. (global.debug is just a variable I made for testing things in CD3 - it's not something built in to GM.)
Course clear! You got a card.

[Image: CourseClear.gif]


  ↳
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Debug Mode Gamemaker, what is it? - by Mariotroid - 12-17-2017, 09:17 PM
RE: Debug Mode Gamemaker, what is it? - by VinnyVideo - 12-17-2017, 09:40 PM
RE: Debug Mode Gamemaker, what is it? - by Mariotroid - 12-17-2017, 10:38 PM
RE: Debug Mode Gamemaker, what is it? - by VinnyVideo - 12-17-2017, 11:15 PM
RE: Debug Mode Gamemaker, what is it? - by bigpotato - 12-18-2017, 10:19 PM

  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode