Switching Between Applications

If the SwitchTo logic command is invoked during a debug session, the solution for the target segment is launched in a new Visual Studio instance, and a new debug session is initiated. Switching back uses the original Visual Studio instance.

Note: The registered value of the Debugger Configuration Property of the target segment (its value when the segment was most recently built) must be any value other than Off, otherwise the new debug session is not initiated. The language and database settings at this build time is also be used by Debugger.

The target segment must have been built with a debug build. If the segments are in different models, the user has to create their own configuration file for Winforms and run Winforms via External Application to be able to switch (this is automatically handled if the segments are in the same model). The build of the second segment needs to be manual and done with the correct deployment folder if the segments are in different deployment folders. But this is automatic if they are in the same folder.