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!

Enabling Just-in-Time Debugging

With Just-in-time debugging, you can run a program outside Visual C++. When an application error occurs, it calls the Visual C++ debugger.

To enable Just-in-time debugging

  1. From the Tools menu, click Options.
  2. In the Options dialog box, select the Debugging folder.
  3. Under Just-In-Time Debugging, select the On This Machine button.

    The Debugger Properties dialog box appears.

  4. In the Program Types box, select the program type (for example, Win32 or NGWS runtime) that you want to debug.
  5. Select the Enable JIT Debugging and Enable Ettach checkboxes.
  6. Click OK to dismiss the Debugger Properties dialog box.
  7. Click OK to dismiss the Options dialog box.
Note   If you are running Windows NT, you must have administrator privileges to set the Just-in-time debugging option.

See Also

Debugging Preparation