Customer runs a few scripts using F5 and then receives the following error:
An unhandled win32 exception occurred in Toad.exe [1320].
See screen shot: JIT Debugger Error in Toad.doc
Toad has issues using the ALT+Tab hot key for switching applications when running a script using F5 and while the Just-In-Time Debugger is installed.
Windows triggering the hotkey functionality while other resources are being used, thus by default the JIT Debugger is trying to debug Windows' errors and thus causing the Unhandled win32 error.
WORKAROUND 1:
Disable or Uninstall the Just-In-Time Debugger tool.
*See Document: Disable the JIT Debugging tool.doc
WORKAROUND 2:
To avoid using any hot keys to switch between applications, use the QSR (Quest Script Runner) in Toad:
1. Load or write your SQL statement or script in the editor.
2. Go to Editor | Execute SQL via QSR in the Editor main menu.
3. This will pop up the QSR in a new window. Run the script or SQL from the QSR.
Note: If the script takes time to execute, this will give you the freedom to switch to other applications using your mouse cursor while it is still running.
WORKAROUND 3:
Run your script in SQL Plus.
From what we can determine, the issue is related to Windows triggering the hotkey functionality while other resources are being used, thus by default the JIT Debugger is trying to debug Windows' errors and thus causing the Unhandled win32 error. Even though it is not in the Beta version yet, the full version of Toad 9.7 should handle hot key switching better to avoid these kinds of errors.
STATUS:
Waiting for fix to be released in a future version of Toad for Oracle.