debug

Format: debug [program_name] [core_file] [pr=num]

Replaces one of the debugger's existing internal program slots, given by num, with a new program to debug given by program_name. If no program slot is given, the current slot is used. If no new program is given, the current program's name is used. The program replaces what is currently in the debugger window. The program to be replaced must halt first. All monitors and monitor windows in GUI mode are deleted, and any child programs from that window which are currently debugging are also killed.

If core_file is specified, then the program shows where it died. Otherwise, the main routine is shown.

The filenames will be searched for using the default search path. See "default search path".


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.