2. Installing the Preprocessor dbg

[<<<] [>>>]

Installing the preprocessor is usually not needed as this is automatically installed during ScriptBasic installation. In the following sections I describe how to install it in case something is not working or you want to set up some files differently.

The debugger is implemented as an internal preprocessor. This means that the code of the preprocessor is in a .dll file under Windows and .so file under UNIX. Internal preprocessors have to be configured to be invoked by the interpreter.

To do this the file scriba.conf.lsp has to be modified and recompiled using the program cftc in case the default configuration does not fit you.

The preprocessors in the configuration file are configured under the key preproc.

preproc (
  internal (
    dbg "E:\\ScriptBasic\\modules\\dbg.dll"
    )
  )

This is the configuration file fragment on the development station. This names the preprocessor the name dbg and specifies the exact location. You can name the debugger different though this would not be wise. In case you rename the debugger you have to invoke it with the option `-I newname'.

The debugger requires no other configuration.


[<<<] [>>>]