# 1 Getting Started

There are two ways in which Ozcar can be invoked. First, from the OPI, second, from the Shell.

## 1.1 Invocation from the OPI

To start Ozcar from the OPI, you have to apply the elisp function `oz-debugger`, which is bound to the key sequence C-. C-. d by default. Executed with prefix argument (C-u C-. C-. d), the Ozcar window is closed again. Note, however, that the debugger will only be suspended; after re-starting it, you can continue debugging exactly where you stopped before.

## 1.2 Invocation from the Shell

Another way of using Ozcar is to debug Oz applications (see Chapter 1 of ``Application Programming''). For this purpose, the program ozd is provided (which is an oz application itself, btw.). If you want to debug the application foo, you just type from the shell 'ozd -E foo'. This starts an Oz engine, which in turn starts Ozcar and Emacs (the latter because of the -E option). See also Chapter 4 of ``Oz Shell Utilities''.