This five-minute tutorial walks you through the main features of Entrian Attach, using its built-in tutorial.
Entrian Attach comes with some demo applications, so you can try it out without needing to set things up for your own applications. The Tutorial menu configures things for you, so you can see how it all works:
Start by configuring Visual Studio to attach to the tutorial apps: clickand then . That configures Entrian Attach to attach to the demo apps, loads up the source code for those apps, and sets some breakpoints in the source code:
Now you're all set to start the demo apps and see the debugger attach to them.
You'll see that Visual Studio attaches to the new process and the breakpoint fires.
Click OK in the Entrian Attach dialog if it's still visible, then hit F5 to continue and leave the app running.
TutorialManaged.exe can run a child process called
TutorialNative.exe. Entrian Attach is configured to attach
TutorialNative.exe only when it's a child of
a process that's being debugged:
In the Tutorial Managed Application, click thebutton and the debugger will attach to the child process. Hit F5/Continue and then quit the child app.
If you run that same
from Windows Explorer, Visual Studio won't attach because it's not a child of a process that you're debugging.
(Why does this feel backwards? Why can't you just say that you want to debug any child of
TutorialManaged.exe? The answer is that Windows's
mechanism for attaching a debugger at processes start requires the name of the executable to attach to.
That's why you need to specify the name of the child process.)
TutorialSwitched.exeis configured to attach only if is given on the command line:
Launch it via the
from Windows Explorer and the debugger won't attach.
Make sure you have one or more of the demo apps running but not under the debugger (clickon the Visual Studio menu).
Now click Ctrl+E, Ctrl+A) and you'll attach to the running processes.(or hit
That's the end of this brief overview of Entrian Attach. You can now go back to the Configuration dialog where you can further explore the options and set up your own apps. Clickat some point to remove the tutorial apps and breakpoints.
Some of the features that this tutoral didn't cover:
iisexpress.exeonly for specific app pools or sites.
EntrianAttachEnableDisablecommand to a menu or toolbar).