Reputation: 10036
I've got an executable I want to debug in WinDbg. The executable requires some files as arguments, and I'm passing those in via WinDbg's Open Executable window. The problem is, when I navigate to the executable I want to debug and select it (again via the Open Executable window), I get an error message from the program saying it can't find the files I passed in as arguments. This is despite the fact that I've verified those files are in the same folder as the executable, and I've set the Start Directory (in the Open Executable window) to the directory that contains the executable and necessary argument files. Am I misunderstanding how WinDbg attaches to a process? See the screenshot below for a setup of my folder and how I've configured the Open Executable Window.
Upvotes: 0
Views: 1295
Reputation: 10036
I had the wrong path to the Start directory. The way I described is the proper way to attach WinDbg to an executable that requires arguments.
Upvotes: 0