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
- From the Tools menu, click Options.
- In the Options dialog box, select the Debugging folder.
- Under Just-In-Time Debugging, select the On This Machine button.
The Debugger Properties dialog box appears.
- In the Program Types box, select the program type (for example, Win32 or NGWS runtime) that you want to debug.
- Select the Enable JIT Debugging and Enable Ettach checkboxes.
- Click OK to dismiss the Debugger Properties dialog box.
- 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