문제

How can we make Windbg portable ?

도움이 되었습니까?

해결책

WinDbg doesn't require any installation. You can run it from an USB stick if you will or just XCOPY deploy it. Microsoft makes sure that WinDbg doesn't require any specific registry settings etc in order to run.

Quote from Microsoft

For as long as I can remember, the windbg programmers have been meticulous in making sure that the installation does not require any registry settings or other COM registration or whatever in order to run.

As for SOS, which is needed to debug managed code using WinDbg, this is part of the .NET framework, so if .NET is present on the machine, so will the correct version of SOS be.

다른 팁

windbg is a proprietary tool made by Microsoft.

We (as a community) can't make is portable, only Microsoft can.

As a windows specific tool, I can't see that it will be easy to port and I can't see any incentive for Microsoft to port it to another OS either.


Since you clarified that you want to be able to run it off a USB key, rather than have a version for different OSs:

As far as I know, this is not possible.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top