📄 debug_info
字号:
ddddeeeebbbbuuuugggg____iiiinnnnffffoooo((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) ddddeeeebbbbuuuugggg____iiiinnnnffffoooo((((3333)))) NNNNAAAAMMMMEEEE debug_info() - display debug information SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS mixed debug_info( int operation, ... ); mixed debug_info( 0, object ob ); mixed debug_info( 1, object ob ); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN debug_info() is a general-purpose facility which may be used to debug the MudOS driver. The debugging information requested is determined by the first argument. Successive arguments are determine by the operation selected. The existing operations (0 and 1) require a second object type argument, and may be used to display the various fields of the MudOS object structure. The following LPC code was used to generate the sample output: /* di0.c */ create() { debug_info(0, this_object()); } O_HEART_BEAT : FALSE O_IS_WIZARD : FALSE O_ENABLE_COMMANDS : FALSE O_CLONE : FALSE O_DESTRUCTED : FALSE O_SWAPPED : FALSE O_ONCE_INTERACTIVE: FALSE O_RESET_STATE : FALSE O_WILL_CLEAN_UP : FALSE O_WILL_RESET: TRUE total light : 0 next_reset : 720300560 time_of_ref : 720299416 ref : 2 swap_num : -1 name : 'u/c/cynosure/di0' next_all : OBJ(bin/dev/_update) This object is the head of the object list. /* di1.c */ create() { debug_info(1, this_object()); } Page 1 (printed 3/16/95) ddddeeeebbbbuuuugggg____iiiinnnnffffoooo((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) ddddeeeebbbbuuuugggg____iiiinnnnffffoooo((((3333)))) program ref's 1 Name u/c/cynosure/di1.c program size 10 num func's 1 (16) num strings 0 num vars 0 (0) num inherits 0 (0) total size 104 SSSSEEEEEEEE AAAALLLLSSSSOOOO dump_file_descriptors(3), dump_socket_status(3) Page 2 (printed 3/16/95)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -