Manually Configured File Location Maps

Index of All Documentation » Wing Pro Reference Manual » Advanced Debugging Topics » Manually Configured Remote Debugging »

If you are not using Wing Pro's Remote Hosts feature and the full path to your source is not the same on both machines, you also need to set up a mapping that tells Wing where it can find your source files on each machine.

This is done with the Location Map preference, which lists corresponding local and remote directory locations for each remote host's dotted quad IP address.

Each host IP address in the location map is paired with one or more (remote_prefix, local_prefix) tuples. The remote file prefix will be a full path on the debug server's file system. The local file prefix is usually the full path of a local directory, though it may also be a file: url.

The best way to understand this is to look at the Manually Configured Location Map Examples.

When running Wing on Windows, UNC formatted file names such as \\machine\path\to\file may be used. In cases where setting up a persistent drive mapping is a problem, use a cmd.exe script with a net use command to map the drive on demand.

Note that making symbolic links on the client or server will not work as an alternative to using this mapping. This is a side-effect of functionality in the debugger that ensures that debugging works right when symbolic links are present: Internally, source file names are always resolved to their actual full path location.

Section Contents