Debug on Demand

Note: Debug on Demand is available only on Windows NT and only for local debugging.

Debug on Demand enables you to open a debugging session whenever an unhandled exception or other unrecoverable error occurs in your application. The debugger starts and attaches to your application at the point of fault. This can save you time for two reasons: you do not have to recreate errors, and your application can run at full speed without interference from the debugger until the exception is encountered.

Debug on demand can be started for any application that fails while it is running, even if the application does not contain debug information. With debug on demand, you can even find and fix a problem in your application and let the application continue running.

To enable this feature, type the following at a command shell:

idod idebug

To disable Debug on demand, type the following at a command shell:

idod /u