(ddd.info)Invoking


Next: Quitting Up: Invocation
Enter node , (file) or (file)node

2.1 Invoking DDD
================

Normally, you can run DDD by invoking the program `ddd'.

   You can also run DDD with a variety of arguments and options, to
specify more of your debugging environment at the outset.

   The most usual way to start DDD is with one argument, specifying an
executable program:

     ddd PROGRAM

If you use GDB, DBX, Ladebug, or XDB as inferior debuggers, you can also
start with both an executable program and a core file specified:

     ddd PROGRAM CORE

   You can, instead, specify a process ID as a second argument, if you
want to debug a running process:

     ddd PROGRAM 1234

would attach DDD to process `1234' (unless you also have a file named
`1234'; DDD does check for a core file first).

   You can further control DDD by invoking it with specific "options".
To get a list of DDD options, invoke DDD as

     ddd --help

   Most important are the options to specify the inferior debugger
(Note: Choosing an Inferior Debugger), but you can also customize
several aspects of DDD upon invocation (Note: Options).

   DDD also understands the usual X options such as `-display' or
`-geometry'.  Note: X Options, for details.

   All arguments and options that are not understood by DDD are passed
to the inferior debugger; Note: Inferior Debugger Options, for a
survey.  To pass an option to the inferior debugger that conflicts with
an X option, or with a DDD option listed here, use the `--debugger'
option (Note: Options).

Choosing an Inferior Debugger
Which debugger to use?
Options
How to invoke DDD
X Options
Setting X properties
Inferior Debugger Options
Customizing GDB, DBX, and so on
Multiple Instances
Running multiple DDD instances
X Warnings
Turning off obnoxious warnings

automatically generated by info2www version 1.2.2.9