Re: 请教个问题。windbg+sos.dll 调试 .net 程序
.Net程序调试
请教个问题。windbg+sos.dll 调试 .net 程序
lzh
2006-09-10, 12:30 下午
请教个问题。windbg+sos.dll 调试 .net 程序,程序用的是net1.0.这样的话需要两个.bin文件来初始话 sos.dll.可是我不知道.bin文件下载下来后要放在哪里?
谢谢
Re: 请教个问题。windbg+sos.dll 调试 .net 程序
土豆泥
2006-09-11, 23:10 下午
没听说要什么BIN文件呀,最新的WinDbg就已经附带了SOS扩展,直接用就可以了呀。比如输入
!clr10\sos.help
就可以看到帮助。
你要调试的程序有什么特别需要么?
Re: 请教个问题。windbg+sos.dll 调试 .net 程序
lzh
2006-09-19, 19:49 下午
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DBGch01.asp
SOS.dll is a debugger extension that is capable of displaying managed call stacks and object data. It currently works only with the debuggers provided as part of the Driver Development Kit (DDK), such as WinDbg, and it requires a .bin file that matches the type and version of the .NET runtime.
Note At present, SOS only works with the DDK debuggers. It is intended, however, that the functionality provided by SOS will be supported in the upcoming version of Visual Studio .NET. Also, the .bin file will not be required to match the type and version of the .NET runtime.
我用的是vs2002.需要那个.bin文件。我知道下载后放在哪了。就放在clr10 下,跟sos.dll放在一起就可以。上次我下载的版本不对,现在可以了。下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=5e94c808-004d-45fb-a43d-053597fee68d&displaylang=en
Re: 请教个问题。windbg+sos.dll 调试 .net 程序
lzh
2006-09-19, 19:51 下午
谢谢你帮助。