Technical News & Information for Australian Data Systems Customers
10 December 2001

Debugging Variable Definition Files

To determine whether your configuration variable files are being processed properly, start MicroStation with the -debug=n command line switch.

  • At a command prompt, enter: ustation -debug=n (where "n" is a value from 1 to 5)
    or copy your shortcut and append "-debug=n" to the Target field in the MicroStation program item's properties dialog box (Shortcut tab).

MicroStation produces a report that is saved as ASCII text in the file "msdebug.txt" in the current directory. This report displays the names of all of the configuration variable files as processed and the names and values for all variable definitions.

Then MicroStation exits.

Use one of the following values for "n":

Value of "n"

Type of report

"1"

Brief report that shows the current string value of each configuration variable as it is processed.

"2"

In addition, shows the current translation of each configuration variable as it is processed.

"3"

In addition, shows conditional break information by displaying the line number when each "if" preprocessor directive is processed.

"4"

In addition, prints final translations of all configuration variables at the end of the report. This is the default setting.

"5"

In addition, shows final values of all configuration variables at each level (system, application, site, project, user).

For most purposes, the value "4" (the default setting) gives the most meaningful report: It shows the values of the configuration variables as they exist while MicroStation is running.

 Australian Data Systems  Phone: +618 9479 1338  Fax: +618 9479 1353
support@ozdata.com.au   www.ozdata.com.au