PetscSetDebugger

Sets options associated with the debugger.

Synopsis

int PetscSetDebugger(char *debugger, int xterm,char *display)
Not Collective

Input Parameters

debugger - name of debugger, which should be in your path, usually "dbx", "gdb", or "xxgdb". Also, HP-UX supports "xdb", and IBM rs6000 supports "xldb".
xterm - flag to indicate debugger window, set to either 1 (to indicate debugger should be started in a new xterm) or 0 (to start debugger in initial window (the option 0 makes no sense when using more than one processor.)
display - name of display for opening xterm, or null.

Fortran Note

This routine is not supported in Fortran.

Keywords

Set, debugger, options

See Also

PetscAttachDebugger(), PetscAttachDebuggerErrorHandler()

Location: src/sys/src/erroradebug.c
System Index
Table of Contents