Using a local editor

From m204wiki
Jump to navigation Jump to search

As described in this section, you can use a local editor to view and modify the workstation text files that the Debugger Client provides for its various purposes. You can also use a local editor to interactively modify your source code procedure files.

Editing workstation text files

To control the Client, you create and maintain text files on the workstation (e.g., configuration, white/black lists, macros).   By default, the menu items and commands to edit/create these files use the Windows Notepad.

The Debugger configuration file (debuggerConfig.xml) contains an element with which you can specify an alternate text editor to work with the various text files employed by the Client. As described in this step in the configuration of debuggerConfig.xml, you use the notepadReplacement element to select your own local editor to replace the Notepad editor.

Editing procedure files

The Line Information pop up in the Client provides detailed information about a source line, such as the name of the procedure and procedure file from which it comes. You can configure the Edit button on this pop up to edit the procedure on your workstation.

From the editor, you can change and save code, and the saved file is returned to the Online to replace the original. To see if the change had the desired results, you may rerun the procedure.

Currently, two editors are supported:

  • Xtend® from Yoda Software

Xtend is a GUI editor designed specifically to edit procedures written in SOUL.  

Xtend transfers files to and from the Model 204 Online using the HTTP protocol, and you must either define a Janus Web Server port or an RCL Connect* connection to use it. This document describes only the Web Server connection (which requires Janus Web Server authorization). For information about using RCL Connect*, you must see the Xtend documentation.

UltraEdit is a GUI editor that is designed to edit program source code from a wide variety of languages.

UltraEdit transfers files to and from the Model 204 Online using the FTP protocol, and you must define a Janus FTP Server port to use it. This means you must be authorized for Janus Sockets.

These sections follow:

Using Xtend with the Debugger
Using UltraEdit with the Debugger