.load, .loadby (Load Extension DLL)

The .load and .loadby commands load a new extension DLL into the debugger.

.load DLLName  
.loadby DLLName ModuleName


Specifies the debugger extension DLL to load. If you use the .load command, DLLName should include the full path. If you use the .loadby command, DLLName should include only the file name.

Specifies the module name of a module that is located in the same directory as the extension DLL that DLLName specifies.



User mode, kernel mode


Live, crash dump



Additional Information

For more information about how to load, unload, and control extensions, see Loading Debugger Extension DLLs.


When you use the .load command, you must specify the full path.

When you use the .loadby command, you do not specify the path. Instead, the debugger finds the module that the ModuleName parameter specifies, determines the path of that module, and then uses that path when the debugger loads the extension DLL. If the debugger cannot find the module or if it cannot find the extension DLL, you receive an error message that specifies the problem. There does not have to be any relationship between the specified module and the extension DLL. Using the .loadby command is therefore simply a way to avoid typing a long path.

After the .load or .loadby command has been completed, you can access the commands that are stored in the loaded extension.

To load an extension DLL, you can do one of the following:

  • Use the .load or .loadby command.

  • Execute an extension by issuing the full !DLLName.ExtensionCommand syntax. If the debugger has not yet loaded DLLName.dll, it loads the DLL at this point.