Okay, so the full title here is "Debug Your Executable Without Using the Traditional 'Attach to Process' Menu Items" but that was way too long for me so I just shortened it up a bit. You probably already know about the Attach to Process menu items on the Debug and Tools menus, but what if, for example, the process fails before you can attach to it? Maybe it fails on startup or it runs too fast for you to catch it. Well we have a solution for you--literally! Did you know you can create a Solution for executables? It's easy to do, just find the executable you want to create a solution for by going to File -> Open Project/Solution:
Or, if you have a Solution open already, File -> Add -> Existing Project:
Now you can run the executable just like any other project by pressing F5. If you have multiple projects make sure to set it as the startup: Read more: Visual Studio Tips and Tricks
Or, if you have a Solution open already, File -> Add -> Existing Project:
Now you can run the executable just like any other project by pressing F5. If you have multiple projects make sure to set it as the startup: Read more: Visual Studio Tips and Tricks
0 comments:
Post a Comment