8

How can we make Windbg portable ?

5
  • 4
    I don't understand - from where to where? Another version of Windows? Can't you just download the right version on Windbg? What's the .NET angle - SoS?
    – Rup
    Nov 25, 2010 at 17:02
  • It weighs much less than a pound. Nov 25, 2010 at 17:25
  • 1
    Do you mean portable as in you don't need to install it but can run it from for example a memory stick without modifying the installed OS? Nov 25, 2010 at 18:11
  • Yes, I meant the same. Its the tool I used to troubleshoot production environment problems. Some of my customers have policy of not installing any software on production environments. Hence the ask. Nov 27, 2010 at 6:22
  • 1
    stackoverflow.com/questions/3402892/… thread lists WinDbg among his portable debug tools. So it seems to be possible. Nov 27, 2010 at 10:53

2 Answers 2

23

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.

0
2

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.

2
  • 1
    I think you misunderstood the question Nov 27, 2010 at 10:54
  • 2
    @CodeInChaos - I think the question was unclear. I answered to the best of my understanding, before it was clarified further in the comments.
    – Oded
    Nov 27, 2010 at 12:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.