I was directed to this forum. So, I hope this will work:
I am a newbie to VS 2012 and I have an unique situation.
I have a Main Page and a Pop-Up Window that is called from the Main Page. These two are in total separate projects and directories. Each has its own Web Config file (not sure if that is relevant).
I need to single step through the Main Page before I call the Pop-Up Window. When the Main Page does call the Pop-Up Window, I will need to single step throught that as well.
OK, let work through the activities that would happen.
Assumption:
For each project (in this case there will be two), there is an instance of Visual Studio 2012.
Each instance of VS do not know that the other exists and there is no communication between the instances.
Process:
In first VS 2012 instance:
Each instance of VS do not know that the other exists and there is no communication between the instances.
Process:
In first VS 2012 instance:
- Open Main Window project using VS 2012.
- Modify project to open “Window” project.
In second VS 2012 instance:
- Open “Window” project.
- Modify project to detect that it is being called as a window and to make adjustments.
Begin debugging:
- Return to first VS 2012 and start debugging session by pressing PF5.
- Reach breakpoint just before “window” project is called.
- Verify that the Query String is built correctly.
Problem:
While sitting at the break point in first instance of VS 2012, what do I do inside the second instance (or first instance of VS 2012 for that matter) to activate debugging in the “Window” project that is opened in the second instance of VS 2012? I want to make sure that the Query String was passed correctly and single step through the "Window" project to check that the modifications work properly!
The second major step would be to "finish" executing the "Window" project and "return" back to the debugging session on the Main screen to verify that the data extracted by the "Window" project is returned properly.