.srcfix, .lsrcfix (Use Source Server)

The .srcfix and .lsrcfix commands automatically set the source path to indicate that a source server will be used.

.srcfix[+] [Paths] 
.lsrcfix[+] [Paths] 



Causes the existing source path to be preserved, and ; srv* to be appended to the end. If the + is not used, the existing source path is replaced.


Specifies one or more additional paths to append to the end of the new source path.


The .srcfix command is available on all debuggers. The .lsrcfix command is available only in WinDbg and cannot be used in script files.


user mode, kernel mode


live, crash dump




Additional Information

For more information on setting the local source path for a remote client, see WinDbg Command-Line Options. For details about SrcSrv, see Using a Source Server. For details on the source path and the local source path, see Source Path. For more information about commands that can be used while performing remote debugging through the debugger, see Controlling a Remote Debugging Session.


When you add srv* to the source path, the debugger uses SrcSrv to retrieve source files from locations specified in the target modules' symbol files. Using srv* in the source path is fundamentally different from using srv* in the symbol path. In the symbol path, you can specify a symbol server location along with the srv* (for example, .sympath SRV*https://msdl.microsoft.com/download/symbols). In the source path, srv* stands alone, separated from all other elements by semicolons.

When this command is issued from a debugging client, .srcfix sets the source path to use a source server on the debugging server, while .lsrcfix does the same on the local machine.

These commands are the same as the .srcpath (Set Source Path) and .lsrcpath (Set Local Source Path) commands followed by the srv* source path element. Thus, the following two commands are equivalent:

.srcfix[+] [Paths] 
.srcpath[+] srv*[;Paths] 

Similarly, the following two commands are equivalent:

.lsrcfix[+] [Paths] 
.lsrcpath[+] srv*[;Paths] 



Send comments about this topic to Microsoft