DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the UDK

Accessing source files

dbx command debug command Description Notes
/regular expression[/]
?regular expression[?]
list [-p proc_list] [-c count] /regexp/
list [-p proc_list] [-c count] ?regexp?
Search forward or backward in the current source file for the given pattern. In debug / and ? when %mode is set to vi will search forward and backward in the command line history.
edit [filename]
edit procedure_name
edit function_name
N/A Invoke an editor on filename or the current source file if none is specified. The shell command (!) with the appropriate executable can be used to edit a file.
file [filename] set %list_file=filename Change the current source file name to filename. Debug's current file is also contained in %file
func [procedure/function] N/A Change the current function.  
list .
list procedure/function
list [source_line number [, source_line_number]]
list [-p proc_list] [-c count] [thread id@][file_name@][header_file@]func_name
list [-p proc_list] [-c count] [thread id@][file_name@][header_file@]line_num
list [-p proc_list] [-c count]

List the lines in the current source file.  
use directory_list set %path="directory_list"
set %global_path="directory_list"
Set the list of directories to be searched when looking for source files.  


Next topic: Command Aliases
Previous topic: Printing Variables and Expressions

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004