Just-In-Time Debugging

Just-in-time debugging is a technique for debugging a program that is started outside of the environment. You can run a program created in Office outside of the environment. If you have enabled Just-in-time debugging, the program will bring up a dialog box when a crash occurs. This dialog box will ask if you want to debug the program and which debugger you want to use.

To enable Just-In-Time debugging

  1. From the Tools menu, select Options.
  2. In the Options dialog box, select the Debugging folder.
  3. In the Debugging folder, select the General page.
  4. Under Just-In-Time Debugging, click Settings.
  5. In the JIT Debugging Settings dialog box, you can enable or disable Just-In-Time debugging for script by selecting or clearing the Enable JIT debugging option.
  6. Click Close, and then click OK.