dump_prog(3)

NAME
dump_prog() - dump/disassemble an LPC object

SYNOPSIS
void dump_prog(object ob, int default: 0, string file);

DESCRIPTION
dump_prog() dumps information about the program of `obj' to a file, `file', or "/PROG_DUMP" if `file' is not given. If the current object does not have write access to the file, it fails. If the second argument is given, and is nonzero, a disassembly of the entire program of `obj' will be dumped in the file.

SEE ALSO
debug_info(3), dumpallobj(3)