Step Out is used to step out of a function. For example, if the current line is a function, then stepping over that function will move to the next line instead of stepping through each line of that function. Step Over will execute as one complete step. If the line contains a function, the Script Debugger will enter that function and continue line by line. Step Into can be used to step through a script line by line. When script execution is paused, the Script Debugger can step through the script to examine line by line to inspect variables and objects to help find issues and bugs. When the game is played, the Script Debugger will not pause execution if no breakpoints are present. Clicking on the red circle in the far left margin of Script Editor will remove the breakpoint. Removing a breakpoint works the same way as adding a breakpoint. On clicking in the margin, a red circle will be added to the margin, indicating that line has a breakpoint. Adding a breakpoint can be done by left clicking with the mouse in the far left margin of the Script Editor. Adding a BreakpointĪ breakpoint can be added so the Script Debugger knows where to pause execution. Markers can be set by left clicking with the mouse in the far left margin of the Script Editor. More than one marker can be set in a script, but only one can be set for each line. Adding and Removing BreakpointsĪ breakpoint is a way to mark a specific line in a script for debugging. Clicking on the icon will change to red, indicating that the Script Debugger will pause on error. This can be useful to have enabled when scripts in a game are causing an error. The Script Debugger has the option to automatically pause the game when an error has occurred. Next time the Script Debugger is enabled, the breakpoints will also be enabled. This allows creators to disable all breakpoints without removing them. When disabling the Script Debugger, all breakpoints will also be disabled. Content Creator Kit Content Creator Kit.Make Your First Game Make Your First Game.Script Debugger Script Debugger Table of contents.Coming from other Platforms Coming from other Platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |