Global initialization file, Mcutools.ini - pc only) – Freescale Semiconductor Microcontrollers User Manual

Page 843

Advertising
background image

Debugger Engine Environment Variables

Debugger Environment

843

Microcontrollers Debugger Manual

• If the tool is launched using a File Manager/Explorer, the current directory is the

location of the executable launched.

• If the tool is launched using an Icon on the Desktop, the current directory is the one

specified and associated with the Icon.

• If the tool is launched by dragging a file on the icon of the executable under

Windows 2000, the desktop is the current directory.

• If the tool is launched by another tool with its own current directory specified (for

example, WinEdit), the current directory is the one specified by the launching tool
(for example, current directory definition in WinEdit).

• For the Debugger tools, the current directory is the directory containing the local

project file. Changing the current project file also changes the current directory, if the
other project file is in a different directory. Note that browsing for a C file does not
change the current directory.

To overwrite this behavior, the environment variable

DEFAULTDIR: Default Current

Directory

may be used.

Global Initialization File

(MCUTOOLS.INI - PC

Only)

All tools may store global data in MCUTOOLS.INI. The tool first searches for this file in
the directory of the tool itself (path of executable). If there is no MCUTOOLS.INI file in
this directory, the tool looks for the file in the MS Windows installation directory (for
example, C:\WINDOWS).

Example:

C:\WINDOWS\MCUTOOLS.INI

D:\INSTALL\PROG\MCUTOOLS.INI

If a tool is started in the D:\INSTALL\PROG\DIRECTORY, the project file in the same
directory as the tool is used (D:\INSTALL\PROG\MCUTOOLS.INI).

If the tool is started outside the D:\INSTALL\PROG directory, the project file in the
Windows directory is used (C:\WINDOWS\MCUTOOLS.INI).

NOTE

For more information about MCUTOOLS.INI entries, see the compiler
manual.

Advertising