debug.debug
From GMod Wiki
Function | |
Syntax |
debug.debug( ) Where is this used? |
Description: | |
Enters an interactive mode with the user, running each string that the user enters. Using simple commands and other debug facilities, the user can inspect global and local variables, change their values, evaluate expressions, and so on. A line containing only the word cont finishes this function, so that the caller continues its execution. | |
Returns: | nil |
Part of Library: | Debug |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Debug.debug]Debug.debug [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Additional Notes
- Commands for debug.debug are not lexically nested within any function, and so have no direct access to local variables.
- This only works on the source dedicated server.
- To exit this interactive mode, you can press Ctrl + Z then Enter OR type the word 'cont' on a single line and press enter.