Puppy
Puppy

Reputation: 146910

Attach to executable with Visual Studio debugger

What I'd really like to do is debug an executable using the Visual Studio debugger. It comes with an Attach to Process feature. Unfortunately, the target executable only lasts for a short period- much too short for me to launch the executable and then navigate through Visual Studio and attach to it. How can I command Visual Studio to launch the executable and immediately attach the debugger?

Upvotes: 3

Views: 858

Answers (1)

Bryan Weaver
Bryan Weaver

Reputation: 4473

AttachToLazy VS add-in can wait for a process to start and then attach to it.

This add-in was written for VS2008 and it looks like some people were able to get it to work with 2010 by adjusting some of the properties (info under the Discussions tab).

Upvotes: 2

Related Questions