Reputation: 33880
When I try to load an extension such as sos or psscor4 using the .load
commmand in Windbg, it exhibits a behavior I did not expect. So, may be it is just a matter of setting my expectation right as to this behavior being normal.
For example, when I say:
0:00> .load "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll"
It complains as follows:
The call to LoadLibrary(C:WindowsMicrosoft.NETFramework64v4.0.30319sos.dll) failed, Win32 error 0n2 "The system cannot find the file specified." Please check your debugger configuration and/or network access.
I infer that it is expecting me to escape the backslash.
However, when I escape the backslash character like so, it works just fine and loads the extension.
0:00> .load "C:\\Windows\Microsoft.NET\\Framework64\\v4.0.30319\\sos.dll"
Upvotes: 1
Views: 615
Reputation: 59523
It loads fine without quotation marks
0:00> .load C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll
even if the path contains spaces.
Upvotes: 2
Reputation: 528
Hi use look like this
@"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll"
hope it help
Upvotes: 2