Quitting DDD

To exit DDD, select File =&gt; Exit. You may also type the quit command at the debugger prompt or press <Ctrl+Q>. GDB and XDB also accept the q command or an end-of-file character (usually <Ctrl+D>). Closing the last DDD window will also exit DDD.

An interrupt (<ESC> or Interrupt) does not exit from DDD, but rather terminates the action of any debugger command that is in progress and returns to the debugger command level. It is safe to type the interrupt character at any time because the debugger does not allow it to take effect until a time when it is safe.

In case an ordinary interrupt does not succeed, you can also use an abort (<Ctrl+\> or Abort), which sends a SIGABRT signal to the inferior debugger. Use this in emergencies only; the inferior debugger may be left inconsistent or even exit after a SIGABRT signal.

As a last resort (if DDD hangs, for example), you may also interrupt DDD itself using an interrupt signal (SIGINT). This can be done by typing the interrupt character (usually <Ctrl+C>) in the shell DDD was started from, or by using the UNIX kill command. An interrupt signal interrupts any DDD action; the inferior debugger is interrupted as well. Since this interrupt signal can result in internal inconsistencies, use this as a last resort in emergencies only; save your work as soon as possible and restart DDD.

Node:Sessions, Next:Remote Debugging, Previous:Quitting, Up:Invocation

results matching ""

    No results matching ""