
CLR Debugger Solution Model
The CLR Debugger uses solutions to associate source files and the applications being debugged. A solution is created automatically when you open a compiled application and its associated source file or files. The next time you debug the same application, you can open the solution instead of having to load the source file and the compiled application separately.
To open an application for debugging (the first time)
Start the CLR Debugger; run DbgCLR.exe, which is in the GuiDebug directory of your .NET Framework installation.
From the Debug menu, select Program to Debug.
In the Program to Debug dialog box, go to the Program box and click the ellipsis button (…). The Find Program to Debug dialog box appears.
Navigate to the directory containing the EXE you want to debug and select the EXE.
Click Open.
This takes you back to the Program to Debug dialog box. Notice that the Working directory has been set to the directory containing your EXE.
In the Arguments box, type any arguments that your program requires.
Click OK.
From the File menu, choose Open, then click File.
In the Open File dialog box, choose the source file you want to open.
Click OK.
To open additional source files, repeat steps 8-10.
This process automatically creates a solution for your debugging session. If you select Start or Step, the Save File As dialog box opens so you can save the solution. If you select Exit or Close Solution, a message box appears which prompts you to save the solution first.
To open an existing solution