Prev | Current Page 740 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"


Now, you are ready to flip to the other instance of Visual Studio that is currently running
under the debugger. In this example, if you bring up the Chapter 7 DataBoundRepeater.aspx
sample test page and manipulate one of the Repeater controls at design-time, you hit the
breakpoint that you set in the other instance of Visual Studio, and you can step through code.
?– Tip To quickly figure out which instance of Visual Studio is debugging and which instance is being
debugged in the Windows taskbar, click the program group to display both instances of Visual Studio. The
instance that has [run] in its caption is the instance that is debugging. The instance that has [design]
in its caption is the instance being debugged.
Note that if you attempt to rebuild the project while running multiple instances of Visual
Studio, you will get the following error message in the Output window in Visual Studio:
Cannot copy assembly 'ControlsBookLib' to file
'c:\ControlsBook\bin\ControlsBookLib.dll'. The process cannot access the file
because it is being used by another process.
To make changes and rebuild the project, close the project in one of the instances of Visual
Studio, make the desired changes, and then reopen the project in the second instance to begin
debugging again.


Pages:
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752