Debugging Memory Problems with MemoryScape : Chapter 6 MemoryScape Command-Line Options : Invoking MemoryScape : Syntax
Syntax
{ memscript | memscape } [ filename [ corefile ]] [ options ]
Arguments
filename
Specifies the pathname of the executable being debugged. This can be an absolute or relative pathname. The executable must be compiled with debugging symbols turned on, normally the -g compiler option. Any multiprocess programs that call fork(), vfork(), or execve() should be linked with the dbfork library.
corefile
Specifies the name of a core file. Use this argument in addition to filename when you want to examine a core file with MemoryScape.
If you specify mutually exclusive options on the same command line (for example, -ccq and -nccq), MemoryScape uses the last option that you enter.