LPC Library Functions: dump_prog

NAME

dump_prog() - dump and disassemble an LPC object

SYNOPSIS

void dump_prog( object ob, int flags, string file );

DESCRIPTION

dump_prog() dumps information about the program of 'ob' to the file `file', or "/PROG_DUMP" if 'file' is not given. If the current object does not have write access to the file, it fails.

Flags can be a combination of the following values:

  • 1 - include a disassembly of the i-code
  • 2 - include line number information

Note that this efun is only available if the driver flag PACKAGE_DEVELOP is defined.

SEE ALSO

debug_info(), dumpallobj()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS