PRB: Exception in Service Causes JIT Debugger to Hang ComputerLast reviewed: July 25, 1997Article ID: Q128896 |
The information in this article applies to:
SYMPTOMSWhen Just-In-Time (JIT) debugging is enabled in Visual C++, applications that cause exceptions (debuggees) bring up a dialog that will allow you to start the debugger. If a process running in a different context, such as a Service, causes an access violation or another exception under Windows NT version 3.5, the dialog appears, but the debugger never comes up and the process causes the computer to hang (stop responding).
CAUSEWhen Windows NT starts the debugger after a fault, it runs in the same context as the application that faulted. Many services run in the LocalSystem account, which does not have access to the user desktop by default. Because the process cannot interact with the desktop, the debugger cannot either.
RESOLUTIONBeginning with version 3.5 of Windows NT, you can allow a Service to interact with the desktop. There are two ways to do this:
STATUSThis behavior is by design in Windows NT 3.1 and 3.5. This problem does not occur under Windows NT 3.51.
|
Additional query words: hung hang WorkBench
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |