next up previous contents
Next: Debugger Commands Up: Source-Level Debugger Previous: Running without XEmacs   Contents

Running with XEmacs

To run the debugger with XEmacs, you must run SICStus Prolog and ALE within XEmacs as an inferior process. To do this:

  1. 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'),
  2. run XEmacs from the directory with debugger.pl,
  3. load the file to be debugged in Prolog major mode,
  4. Use the XEmacs command, M-x run-prolog, to run SICStus prolog as an inferior process,
  5. 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