Question

How can we make Windbg portable ?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top