Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windbg portable? [closed]

How can we make Windbg portable ?

like image 919
Madhur Ahuja Avatar asked Nov 25 '10 16:11

Madhur Ahuja


People also ask

How do I close a WinDbg?

Exiting WinDbg You can exit WinDbg by choosing Exit from the File menu or by pressing ALT+F4. If you are performing user-mode debugging, these commands close the application that you are debugging, unless you used the -pd command-line option when you started the debugger.

How do I open WinDbg?

Navigate to your installation directory, and open WinDbg.exe. On the File menu, choose Open Executable. In the Open Executable dialog box, navigate to the folder that contains notepad.exe (typically, C:\Windows\System32). For File name, enter notepad.exe.

How do I enable WinDbg in Windows 10?

Get started using WinDbg. On the host computer, open WinDbg and establish a kernel-mode debugging session with the target computer. In WinDbg, choose Contents from the Help menu. This opens the debugger documentation CHM file.

Where can I get WinDbg?

Download WinDbg Preview from the Microsoft Store: WinDbg Preview. Learn more about installation and configuration in WinDbg Preview - Installation.


2 Answers

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.

like image 103
Brian Rasmussen Avatar answered Oct 20 '22 20:10

Brian Rasmussen


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.

like image 43
Oded Avatar answered Oct 20 '22 18:10

Oded