![]() S mode: display matching (or unmatched, add!) The name of the function. ? Pattern: finds a matching string backwards (file header) in the current file.ĥ0: Displays all breakpoints and additional actions. Pattern: find the matching string forward (at the end of the file) in the current file. W line number: displays the contents of a window (screen) around a line. L function name: displays the contents of a window (screen) file of the specified function. L line number: displays the contents of the specified line. ![]() Lmin Max: displays the contents of the file on lines min to max. L: Display the contents of one window (one screen) file that has not been executed. (stepover)Ĭ line number / function name: execute to a line or a function. N expression: single step execution, crossing sub functions. (stepinto) if an expression is provided and the expression includes a function call, step into the function. S expression: execute in one step and enter the sub function. T: The call stack of the program goes back one level. Note: in Perl debugger usage, the list of variable names in V and X commands is separated by spaces, and $, or% should be removed before the variable name X variable name list: displays the values of all (or some) variables in the current package. V package name variable name list: displays the values of all (or some) variables in the specified package. For more complex variables, the embedded structure and data are displayed in a readable form. X expression: displays the value of a variable or expression. P expression in Perl debugger usage: displays the value of variable or expression, and does not display the structure and data embedded in complex variables. H debug command: displays the help of a debug command. |h: Displays help information for the debugger in pagination. List of debugging commands: (all commands are entered in the top box of the debugging prompt, which is related to the case of the command) Start the Perl interpreter with the – D command line option, for example: Perl DTest PL enters the interactive interface of Perl debugger. Since telnet is generally used to access the server when developing programs, this paper mainly introduces the usage of the default command-line debugger. The default Perl debugger is the Perl interpreter itself, as well as the debugger with graphical interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |