Next: Debugger Commands
Up: Source-Level Debugger
Previous: Running without XEmacs
  Contents
To run the debugger with XEmacs, you must run SICStus Prolog and ALE within XEmacs as an inferior process. To do this:
- set the EPROLOG environment variable to the command that
runs SICStus Prolog in the shell that you will run XEmacs from
(this is not necessary if the command is 'sicstus'),
- run XEmacs from the directory with debugger.pl,
- load the file to be debugged in Prolog major mode,
- Use the XEmacs command, M-x run-prolog, to run SICStus prolog as an
inferior process,
- From the SICStus Prolog prompt, type:
| ?- compile(debugger).
There is also a command:
| ?- emacs.
that will turn on the XEmacs interface, if it has been disabled by
noemacs/0.
Detmar Meurers
2001-03-03