Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specifying a command line for Windbg's Open Executable

Tags:

When I use Windbg's "Open Executable..." functionality to use Windbg to step through an executable's execution, is it possible for me to specify command line parameters to be used when running the executable? If so, how do I go about doing it?

like image 998
dlanod Avatar asked May 23 '12 23:05

dlanod


People also ask

How do I run WinDbg EXE?

Launch Notepad and attach WinDbgOn 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. Select Open.

How do I attach a process to WinDbg?

When WinDbg is in dormant mode, you can attach to a running process by choosing Attach to a Process from the File menu or by pressing F6. In the Attach to Process dialog box, select the process you want to debug, and select OK.

How do I open debugging tools in Windows?

If you just need the Debugging Tools for Windows, and not the Windows Driver Kit (WDK) for Windows, you can install the debugging tools as a standalone component from the Windows Software Development Kit (SDK). In the SDK installation wizard, select Debugging Tools for Windows, and deselect all other components.

How do you stop a WinDbg?

You can exit WinDbg by choosing Exit from the File menu or by pressing ALT+F4.


1 Answers

There's an arguments text box available in the Open Executable dialog that can be filled in with any arguments you want to pass to the executable.

enter image description here

like image 64
dlanod Avatar answered Sep 22 '22 16:09

dlanod