Skip to main content

dump_prog

Discworld driver help

dump_prog

Name

dump_prog() - dump/disassemble an LPC object

Synopsis

void dump_prog( object ob, int flags, 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.

`flags' can be a combination of the following values:

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

See also

debug_info(), dumpallobj()