NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

The NGWS SDK Debugger

The Microsoft NGWS SDK debugger is intended as an interim tool for debugging applications written and compiled for the Microsoft NGWS runtime. The NGWS SDK debugger, and the accompanying documentation, is based on work being done for the Microsoft Visual Studio 7.0 debugger. As a result, the documentation refers mostly to the Visual Studio debugger, rather than the NGWS SDK debugger. In most cases, the information is applicable to both debuggers. However, you will find sections of the documentation describing some features that are not implemented in the NGWS SDK debugger (see the next paragraph). You can simply ignore these features and sections.

Here are some of the main differences between the NGWS debugger and the Visual Studio debugger as described in the documentation:

The NGWS SDK Debugger Solution Model

To open an application for debugging (the first time)

  1. From the Debug menu, select Program to Debug.
  2. 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.
  3. Navigate to the directory containing the EXE you want to debug and select the EXE.
  4. 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.

  5. In the Arguments box, type any arguments that your program requires.
  6. Click OK.
  7. From the File menu, choose Open, then click File.
  8. In the Open File dialog box, choose the source file you want to open.
  9. Click OK.
  10. 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

See Also