Håller på att debugga en koponent som startas av en annan applikation. Hittade det här... vet inte om det kan vara något...Attach to process
Finns det något enkelt sätt att scripta "attach to process"?
Det är lite jobbigt att varje gång välja attach to process, scrolla fram processen och trycka attach.Sv: Attach to process
Saxat från http://msdn.microsoft.com/msdnmag/issues/02/10/NETTopTen/default.aspx
4. Macros
The next step to extending Visual Studio .NET is to program it directly. The easiest way to do that is using macros. Macros are files written in Visual Basic .NET that are saved and loaded by the IDE and executed on command. They interact with the IDE through its automation object model.
The best way to get started using macros, and the macro IDE embedded inside the Visual Studio .NET IDE, is to record one. Start recording by choosing Tools | Macros | Record Temporary Macro, and then manipulate Visual Studio .NET to perform the operations you'd like recorded. When you press the Stop button on the macro tool bar (which will appear when you are recording a macro), you can examine your new macro using the Macros IDE (Tools | Macros | Macros IDE). Once you've got the cursor inside of a macro, debugging is as simple as setting a breakpoint on your source line (F9) and pressing F5 to run the macro.
Recording macros can be a powerful way to automate simple repetitive tasks. Also, since almost all of the functionality in Visual Studio .NET is exposed via its automation object model, hand-crafted macros can also be used to automate tasks that don't lend themselves to recording.