Visual studio just in time debugger ошибка
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents
Copy raw contents
Copy raw contents
Отладка с помощью JIT-отладчика в Visual Studio. JIT-отладка автоматически запускает Visual Studio при возникновении ошибок или сбоев в приложении.
Отладка с помощью JIT-отладчика в Visual Studio
JIT-отладка автоматически запускает Visual Studio при возникновении ошибок или сбоев в приложении, запущенном вне Visual Studio. С помощью JIT-отладки можно тестировать приложения за пределами Visual Studio и открыть Visual Studio, чтобы начать отладку в случае проблемы.
JIT-отладка работает для классических приложений Windows. Она не работает для универсальных приложений Windows или управляемого кода, размещенного в приложении машинного кода, например для визуализаторов.
[!TIP] Если вы просто хотите запретить отображение диалогового окна JIT-отладчика, но у вас не установлена Visual Studio, см. раздел Отключение JIT-отладчика. Если набор средств Visual Studio был ранее установлен, но теперь его нет, придется отключить JIT-отладку через реестр Windows.
Включение или отключение JIT-отладки в Visual Studio
[!NOTE] Чтобы включить или отключить JIT-отладку, необходимо запустить Visual Studio от имени администратора. Включение или отключение JIT-отладки устанавливает раздел реестра. Для его изменения требуются права администратора. Откройте Visual Studio с правами администратора, щелкнув приложение Visual Studio правой кнопкой мыши и выбрав Запуск от имени администратора.
JIT-отладку можно настроить в диалоговом окне Visual Studio Сервис > Параметры (или Отладка > Параметры).
Включение или отключение JIT–отладки
В меню Сервис или Отладка выберите Параметры > Отладка > JIT.
В поле Включить JIT-отладку для этих типов кода выберите типы кода, которым требуется JIT-отладка: Управляемый, Собственный и (или) Скрипт.
Если вы включили JIT-отладчик, но он не открывается при сбоях или ошибках приложения, см. раздел Устранение неполадок с JIT-отладкой.
Отключение JIT-отладки из реестра Windows
JIT-отладка может оставаться включенной даже после удаления Visual Studio с компьютера. Если Visual Studio больше не установлена, JIT-отладку можно отключить, отредактировав реестр Windows.
Отключение JIT-отладки путем редактирования реестра
В меню Windows Пуск запустите редактор реестра (regedit.exe).
В окне редактора реестра для компьютеров с 64-разрядной версией ОС найдите и удалите следующие записи реестра:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
. image type="content" source="../debugger/media/dbg-jit-registry.jpg" alt-text="Раздел реестра JIT" border="true".
Если имеются указанные ниже записи реестра или на компьютере установлена 32-разрядная версия операционной системы, удалите следующие записи:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
Будьте внимательны, чтобы не удалить или не изменить другие разделы реестра.
Закройте окно Редактор реестра.
Включение JIT-отладки для приложений Windows Forms
По умолчанию в приложениях Windows Forms есть обработчик исключений верхнего уровня, который позволяет приложению продолжить работу, если оно может быть восстановлено. Если приложение Windows Forms выдает необработанное исключение, отображается следующее диалоговое окно:
Чтобы включить JIT-отладку вместо стандартной обработки ошибок Windows Forms, добавьте следующие параметры.
В разделе system.windows.forms файла machine.config или .exe.config установите для параметра jitDebugging значение true :
Для приложений Windows Forms, написанных на языке C++, в файле CONFIG или коде также задайте для параметра DebuggableAttribute значение true . Если компиляция выполняется с атрибутом /Zi, но без /Og, компилятор автоматически задаст этот атрибут. Однако если требуется выполнить отладку неоптимизированной сборки выпуска, то необходимо задать DebuggableAttribute , добавив следующую строку в файл AssemblyInfo.cpp приложения:
Для получения дополнительной информации см. xref:System.Diagnostics.DebuggableAttribute.
В этом примере рассматривается JIT-отладка, когда приложение выдает ошибку.
Для выполнения инструкций необходимо установить Visual Studio. Если у вас нет Visual Studio, вы можете скачать бесплатный выпуск Visual Studio Community.
Убедитесь, что JIT-отладка включена в разделе Сервис > Параметры > Отладка > JIT.
Когда проект откроется в Visual Studio, откройте файл Program.cs. Замените метод Main() следующим кодом, который выводит строку на консоль, а затем создает исключение NullReferenceException:
Чтобы выполнить сборку решения, выберите конфигурацию Отладка (по умолчанию) или Выпуск, а затем нажмите Сборка > Перестроить решение.
- Выберите конфигурацию Отладка для полной отладки.
- Если выбрана конфигурация Выпуск, необходимо отключить функцию Только мой код. В разделе Сервис >Параметры >Отладка снимите флажок Включить только мой код.
Дополнительные сведения о конфигурациях сборки см. в разделе Общие сведения о конфигурациях сборки.
Вы увидите следующее окно команд:
Откроется диалоговое окно Выбор JIT-отладчика.
В разделе Доступные отладчики выберите параметр Новый экземпляр , если он еще не выбран.
Проект ThrowsNullException открывается в новом экземпляре Visual Studio, а выполнение остановлено в строке, вызвавшей исключение:
Теперь можно начать отладку. При отладке реального приложения необходимо выяснить, почему код создает исключение.
[!CAUTION] Если приложение содержит ненадежный код, появляется диалоговое окно предупреждения системы безопасности, позволяющее решить, следует ли продолжить отладку. Перед продолжением отладки решите, доверяете ли вы данному коду. Этот код написан вами самостоятельно? Если приложение выполняется на удаленном компьютере, узнаете ли вы имя процесса? Если приложение выполняется локально, учитывайте возможность выполнения такого вредоносного кода на вашем компьютере. Если вы решили, что код заслуживает доверия, нажмите ОК. В противном случае нажмите кнопку Отмена.
Устранение неполадок с JIT-отладкой
Если JIT-отладка не запускается при сбое приложения, даже если она включена в Visual Studio:
Отчеты об ошибках Windows могут взять на себя обработку ошибок на компьютере.
Чтобы устранить эту проблему, используйте редактор реестра, чтобы добавить значение DWORD Отключено с параметром Данные значения, равным 1, для следующих разделов реестра:
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\Windows Error Reporting
(Для компьютеров с 32-разрядной версией ОС) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting
Дополнительные сведения см. в разделе Параметры .WER.
Известная проблема Windows может привести к сбою JIT-отладчика.
Исправление состоит в том, чтобы добавить значение DWORD из раздела Видимые с параметром Значение данных, равным 1, в следующие разделы реестра.
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug
(Для компьютеров с 32-разрядной версией ОС) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
Не удалось подключиться к аварийному процессу. Указанная программа не является программой Windows или MS–DOS.
Отладчик попытался подключиться к процессу, выполняющемуся под именем другого пользователя.
Чтобы обойти эту проблему, запустите Visual Studio, откройте диалоговое окно Отладка > Присоединение к процессу (или нажмите сочетание клавиш CTRL + ALT + P) и найдите процесс, для которого требуется выполнить отладку, в списке Доступные процессы. Если имя процесса неизвестно, найдите идентификатор процесса в диалоговом окне JIT-отладчик Visual Studio. Выберите процесс в списке Доступные процессы и щелкните Присоединить. Выберите Нет, чтобы закрыть диалоговое окно JIT-отладчика.
Не удалось запустить отладчик, так как пользователь не вошел в систему.
В консоли нет пользователей, выполнивших вход, а также отсутствует сеанс пользователя, в котором следовало бы отображать диалоговое окно JIT-отладки.
Для решения этой проблемы необходимо войти в компьютер.
Чтобы решить эту проблему, используйте Visual Studio Installer для переустановки или исправления установки Visual Studio.
Just-In-Time debugging can launch Visual Studio automatically when an app running outside Visual Studio errors or crashes. With Just-In-Time debugging, you can test apps outside of Visual Studio, and open Visual Studio to begin debugging when a problem occurs.
Just-In-Time debugging works for Windows desktop apps. It does not work for Universal Windows Apps, or for managed code that is hosted in a native application, such as Visualizers.
If you just want to stop the Just-In-Time Debugger dialog box from appearing, but don't have Visual Studio installed, see Disable the Just-In-Time Debugger. If you once had Visual Studio installed, you may need to disable Just-In-Time debugging from the Windows registry.
Enable or disable Just-In-Time debugging in Visual Studio
To enable or disable Just-In-Time debugging, you must be running Visual Studio as an administrator. Enabling or disabling Just-In-Time debugging sets a registry key, and administrator privileges may be required to change that key. To open Visual Studio as an administrator, right-click the Visual Studio app and choose Run as administrator.
You can configure Just-In-Time debugging from the Visual Studio Tools > Options (or Debug > Options) dialog box.
To enable or disable Just-In-Time debugging:
On the Tools or Debug menu, select Options > Debugging > Just-In-Time.
In the Enable Just-In-Time debugging for these types of code box, select the types of code you want Just-In-Time debugging to debug: Managed, Native, and/or Script.
Select OK.
If you enable the Just-In-Time debugger, but it doesn't open when an app crashes or errors, see Troubleshoot Just-In-Time debugging.
Disable Just-In-Time debugging from the Windows registry
Just-In-Time debugging may still be enabled even if Visual Studio is no longer installed on your computer. If Visual Studio is no longer installed, you can disable Just-In-Time debugging by editing the Windows registry.
To disable Just-In-Time debugging by editing the registry:
From the Windows Start menu, run the Registry Editor (regedit.exe).
In the Registry Editor window for 64-bit computers, locate and delete the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
If the following registry entries are present, or your computer is running a 32-bit operating system, delete the following entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
Make sure not to delete or change any other registry keys.
Close the Registry Editor window.
Enable Just-In-Time debugging of a Windows Form
By default, Windows Form apps have a top-level exception handler that lets the app keep running if it can recover. If a Windows Forms app throws an unhandled exception, it shows the following dialog:
To enable Just-In-Time debugging instead of standard Windows Form error handling, add these settings:
In the system.windows.forms section of the machine.config or .exe.config file, set the jitDebugging value to true :
In a C++ Windows Form application, also set DebuggableAttribute to true in a .config file or in your code. If you compile with /Zi and without /Og, the compiler sets this attribute for you. If you want to debug a non-optimized release build, however, you must set DebuggableAttribute by adding the following line in your app's AssemblyInfo.cpp file:
Use Just-In-Time debugging
This example walks you through Just-In-Time debugging when an app throws an error.
You must have Visual Studio installed to follow these steps. If you don't have Visual Studio, you can download the free Visual Studio Community Edition.
Make sure Just-In-Time debugging is enabled in Tools > Options > Debugging > Just-In-Time.
When the project opens in Visual Studio, open the Program.cs file. Replace the Main() method with the following code, which prints a line to the console and then throws a NullReferenceException:
To build the solution, choose either the Debug (default) or Release configuration, and then select Build > Rebuild Solution.
- Choose Debug configuration for the full debugging experience.
- If you select Release configuration, you must turn off Just My Code for this procedure to work. Under Tools >Options >Debugging, deselect Enable Just My Code.
For more information about build configurations, see Understanding build configurations.
You should see the following command window:
The Choose Just-In-Time Debugger dialog opens.
Under Available Debuggers, select New instance of , if not already selected.
Select OK.
The ThrowsNullException project opens in a new instance of Visual Studio, with execution stopped at the line that threw the exception:
You can start debugging at this point. If you were debugging a real app, you would need to find out why the code is throwing the exception.
If your app contains untrusted code, a security warning dialog box appears, enabling you to decide whether to proceed with debugging. Before you continue debugging, decide whether you trust the code. Did you write the code yourself? If the application is running on a remote machine, do you recognize the name of the process? If the app is running locally, consider the possibility of malicious code running on your computer. If you decide the code is trustworthy, select OK. Otherwise, select Cancel.
Troubleshoot Just-In-Time debugging
If Just-In-Time debugging doesn't start when an app crashes, even though it is enabled in Visual Studio:
Windows Error Reporting could be taking over the error handling on your computer.
To fix this issue, use Registry Editor to add a DWORD Value of Disabled, with Value data of 1, to the following registry keys:
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\Windows Error Reporting
(For 32-bit machines) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting
For more information, see .WER settings.
A known Windows issue may be causing the Just-In-Time debugger to fail.
The fix is to add a DWORD Value of Auto, with Value data of 1, to the following registry keys:
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug
(For 32-bit machines) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
You might see the following error messages during Just-In-Time debugging:
Unable to attach to the crashing process. The specified program is not a Windows or MS-DOS program.
The debugger tried to attach to a process running under another user.
To work around this problem, in Visual Studio, open Debug > Attach to Process (or press Ctrl + Alt + P), and find the process you want to debug in the Available Processes list. If you do not know the name of the process, find the Process ID in the Visual Studio Just-In-Time Debugger dialog. Select the process in the Available Processes list, and select Attach. Select No to dismiss the Just-In-Time debugger dialog.
Debugger could not be started because no user is logged on.
There is no user logged onto the console, so there is no user session to display the Just-In-Time debugging dialog.
To fix this problem, log onto the machine.
Class not registered.
The debugger tried to create a COM class that is not registered, probably due to an installation problem.
To fix this problem, use the Visual Studio Installer to reinstall or repair your Visual Studio installation.
JIT-отладка автоматически запускает Visual Studio при возникновении ошибок или сбоев в приложении, запущенном вне Visual Studio. С помощью JIT-отладки можно тестировать приложения за пределами Visual Studio и открыть Visual Studio, чтобы начать отладку в случае проблемы.
JIT-отладка работает для классических приложений Windows. Она не работает для универсальных приложений Windows или управляемого кода, размещенного в приложении машинного кода, например для визуализаторов.
Если вы просто хотите запретить отображение диалогового окна JIT-отладчика, но у вас не установлена Visual Studio, см. раздел Отключение JIT-отладчика. Если набор средств Visual Studio был ранее установлен, но теперь его нет, придется отключить JIT-отладку через реестр Windows.
Включение или отключение JIT-отладки в Visual Studio
Чтобы включить или отключить JIT-отладку, необходимо запустить Visual Studio от имени администратора. Включение или отключение JIT-отладки устанавливает раздел реестра. Для его изменения требуются права администратора. Откройте Visual Studio с правами администратора, щелкнув приложение Visual Studio правой кнопкой мыши и выбрав Запуск от имени администратора.
JIT-отладку можно настроить в диалоговом окне Visual Studio Сервис > Параметры (или Отладка > Параметры).
Включение или отключение JIT–отладки
В меню Сервис или Отладка выберите Параметры > Отладка > JIT.
В поле Включить JIT-отладку для этих типов кода выберите типы кода, которым требуется JIT-отладка: Управляемый, Собственный и (или) Скрипт.
Если вы включили JIT-отладчик, но он не открывается при сбоях или ошибках приложения, см. раздел Устранение неполадок с JIT-отладкой.
Отключение JIT-отладки из реестра Windows
JIT-отладка может оставаться включенной даже после удаления Visual Studio с компьютера. Если Visual Studio больше не установлена, JIT-отладку можно отключить, отредактировав реестр Windows.
Отключение JIT-отладки путем редактирования реестра
В меню Windows Пуск запустите редактор реестра (regedit.exe).
В окне редактора реестра для компьютеров с 64-разрядной версией ОС найдите и удалите следующие записи реестра:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
Если имеются указанные ниже записи реестра или на компьютере установлена 32-разрядная версия операционной системы, удалите следующие записи:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
Будьте внимательны, чтобы не удалить или не изменить другие разделы реестра.
Закройте окно Редактор реестра.
Включение JIT-отладки для приложений Windows Forms
По умолчанию в приложениях Windows Forms есть обработчик исключений верхнего уровня, который позволяет приложению продолжить работу, если оно может быть восстановлено. Если приложение Windows Forms выдает необработанное исключение, отображается следующее диалоговое окно:
Чтобы включить JIT-отладку вместо стандартной обработки ошибок Windows Forms, добавьте следующие параметры.
В разделе system.windows.forms файла machine.config или .exe.config установите для параметра jitDebugging значение true :
Для приложений Windows Forms, написанных на языке C++, в файле CONFIG или коде также задайте для параметра DebuggableAttribute значение true . Если компиляция выполняется с атрибутом /Zi, но без /Og, компилятор автоматически задаст этот атрибут. Однако если требуется выполнить отладку неоптимизированной сборки выпуска, то необходимо задать DebuggableAttribute , добавив следующую строку в файл AssemblyInfo.cpp приложения:
Для получения дополнительной информации см. DebuggableAttribute.
Использование JIT-отладки
В этом примере рассматривается JIT-отладка, когда приложение выдает ошибку.
Для выполнения инструкций необходимо установить Visual Studio. Если у вас нет Visual Studio, вы можете скачать бесплатный выпуск Visual Studio Community.
Убедитесь, что JIT-отладка включена в разделе Сервис > Параметры > Отладка > JIT.
Когда проект откроется в Visual Studio, откройте файл Program.cs. Замените метод Main() следующим кодом, который выводит строку на консоль, а затем создает исключение NullReferenceException:
Чтобы выполнить сборку решения, выберите конфигурацию Отладка (по умолчанию) или Выпуск, а затем нажмите Сборка > Перестроить решение.
- Выберите конфигурацию Отладка для полной отладки.
- Если выбрана конфигурация Выпуск, необходимо отключить функцию Только мой код. В разделе Сервис >Параметры >Отладка снимите флажок Включить только мой код.
Дополнительные сведения о конфигурациях сборки см. в разделе Общие сведения о конфигурациях сборки.
Вы увидите следующее окно команд:
Откроется диалоговое окно Выбор JIT-отладчика.
В разделе Доступные отладчики выберите параметр Новый экземпляр , если он еще не выбран.
Проект ThrowsNullException открывается в новом экземпляре Visual Studio, а выполнение остановлено в строке, вызвавшей исключение:
Теперь можно начать отладку. При отладке реального приложения необходимо выяснить, почему код создает исключение.
Если приложение содержит ненадежный код, появляется диалоговое окно предупреждения системы безопасности, позволяющее решить, следует ли продолжить отладку. Перед продолжением отладки решите, доверяете ли вы данному коду. Этот код написан вами самостоятельно? Если приложение выполняется на удаленном компьютере, узнаете ли вы имя процесса? Если приложение выполняется локально, учитывайте возможность выполнения такого вредоносного кода на вашем компьютере. Если вы решили, что код заслуживает доверия, нажмите ОК. В противном случае нажмите кнопку Отмена.
Устранение неполадок с JIT-отладкой
Если JIT-отладка не запускается при сбое приложения, даже если она включена в Visual Studio:
Отчеты об ошибках Windows могут взять на себя обработку ошибок на компьютере.
Чтобы устранить эту проблему, используйте редактор реестра, чтобы добавить значение DWORD Отключено с параметром Данные значения, равным 1, для следующих разделов реестра:
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\Windows Error Reporting
(Для компьютеров с 32-разрядной версией ОС) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting
Дополнительные сведения см. в разделе Параметры .WER.
Известная проблема Windows может привести к сбою JIT-отладчика.
Исправление состоит в том, чтобы добавить значение DWORD из раздела Видимые с параметром Значение данных, равным 1, в следующие разделы реестра.
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug
(Для компьютеров с 32-разрядной версией ОС) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
Не удалось подключиться к аварийному процессу. Указанная программа не является программой Windows или MS–DOS.
Отладчик попытался подключиться к процессу, выполняющемуся под именем другого пользователя.
Чтобы обойти эту проблему, запустите Visual Studio, откройте диалоговое окно Отладка > Присоединение к процессу (или нажмите сочетание клавиш CTRL + ALT + P) и найдите процесс, для которого требуется выполнить отладку, в списке Доступные процессы. Если имя процесса неизвестно, найдите идентификатор процесса в диалоговом окне JIT-отладчик Visual Studio. Выберите процесс в списке Доступные процессы и щелкните Присоединить. Выберите Нет, чтобы закрыть диалоговое окно JIT-отладчика.
Не удалось запустить отладчик, так как пользователь не вошел в систему.
В консоли нет пользователей, выполнивших вход, а также отсутствует сеанс пользователя, в котором следовало бы отображать диалоговое окно JIT-отладки.
Для решения этой проблемы необходимо войти в компьютер.
Чтобы решить эту проблему, используйте Visual Studio Installer для переустановки или исправления установки Visual Studio.
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I installed Visual Studio, and had no problems. Except one. The Just-In-Time debugger. It seems to come up all the time now, and it has broken Winamp AND Cakewalk SONAR 5. I tried disabling it in Visual Studio's options, but that doesn't stop the pop up and the subsequent shut down of the program (which did NOT happen before). Any ideas?
Answers
Although anything is possible I suppose, it seems unlikely that installing the Just-In-Time debugger caused these applications to start crashing. But I guess if you really want to know if that is the problem, you can try removing HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger.
If it was me, I would take a look at where the app was crashing, and send a bug report to the product support team that own's your crashing app.
All replies
Although anything is possible I suppose, it seems unlikely that installing the Just-In-Time debugger caused these applications to start crashing. But I guess if you really want to know if that is the problem, you can try removing HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger.
If it was me, I would take a look at where the app was crashing, and send a bug report to the product support team that own's your crashing app.
Open Start>Control Panels>Internet Options: Advanced and activate (check box)
* Disable Script Debugging (Internet Explorer)
* Disable Script Debuggung (Other)
- Proposed as answer by Halima S Microsoft Support Monday, January 3, 2011 3:28 PM
Try to set this key value to 1.
I know this is my first post, but i want to apologize for bumping an old topic.
But i wanted to state that what she says does the trick.
Thank you very much
Open the registry (use regedit, Click Start, Run, Regedit).
And set it to 0.
I have tried every registry entry, disabled every script box in IE, and nothing works. the only thing I can do to get rid of it is uninstall the ie developer's toolbar, but I really wanted to keep the dom explorer, as I am validating and correcting all the code in a rather large website.
Thank you Bill gates, I download Visual studio, and after using it a few times 8 of my programmes won't run because of your piece of ***. The simple answer would of course be to uninstall it, so why is it a piece of ***?
I'll enlighten you, I have uninstalled it. As I am typing this, I am finding components from your *** still on my computer, still crashing various applications.
I have done the HKey value thingys, googled for answers and I keep getting the same reply from microsoft, it's unlikely this is to do with visual studio. Here';s a small pointer, unlikely my foot. Why is it the errors only happened AFTER I installed your programme?
I am sick of Microsoft and Bill gates, he was on an interview recently, where he was showing off his latest media center programme. Guess what people, surprise surprise, it wouldn't work.
And before you suggest Vista I am a gamer, so it's no games or games and errors. Great option that!
Since I bought my computer, I have had nothing but errors with it. Why is it I get similar errors to my mum's windows 95? If you can't advance a PC in over ten years, you're either doing something wrong, or not doing it at all.
So now we've established it is your software screwing my programmes up, and we've established I can't uninstall, even manually or from the control panel, I would like an answer that works and doesn't have a disclaimer saying, this will probably screw your comp up, it's already screwed thanks to microsoft.
Seems to me that everyone involved with Msoft is thick. I can't make a system, but given the money Gates has, I could make a much better system than your ***. Why would it be better?
Here's the main answer;
IT WOULD WORK.
So thank you for taking my money microsoft, thank you for not helping me thus far, and thank you for basically screwing up my computer with your own programmes. I wonder when we can expect an apology for the apes working on your systems?
*silent laughter.*
I didn't think so somehow.
Sorry, I take the last bit back, I don't want to insult any apes that may be reading this.
I just went through the exact same thing, so don't listen to the reply post by the "Visual Studio Debugger Dev".
I followed a solution a few posts down and it worked perfectly.
Open Start>Control Panels>Internet Options: Advanced and activate (check box)
* Disable Script Debugging (Internet Explorer)
* Disable Script Debuggung (Other)
BTW - when a user disables a program from Windows, a portion of that program should no longer exist (as JIT does). It's ridiculous we have to deal with this at all. Hope this helped.
Already tried it mate, didn't work.
Thanks for trying.
I saw this book once, it's a series, internet for dummies, photoshop for dummies, and then I saw microsoft for dummies. It's more a case of microsoft BY dummies, not for them.
Did your apps crash a lot before?
I am having the exact same problem. I removed the visual studio, but still getting errors from JITdebugger.
Some people suggest to change something in internet explorer, but the problem doesn't occur in internet explorer (maybe it does, but i am not using it) so this solution doesn't work for me.
I found this actually resolved my issue with JIT:
3. Type cmd (and click ok)
4. Type drwtsn32 -i (and press enter)
See the following for further details on the actual issue with JIT:
I tried a bunch of stuff too - registry settings, IE settings - but no dice. I had to uninstall the ie developer's toolbar as well to finally rid myself of the JIT debugger. What a PITA.
dont do anything with Registry
simply follow the steps
1. Open IIS Server (Internet Information Server)
2. Open website Node and select the site in which you're getting error of Debugger of Just In time
3. Go on Tab of Home Directory
4. Click on Configuration button (You will get another form)
5. Click on Dubugging Tab.
6. Uncheck "Enabled ASP Server-side scripting degug.
I have remove the this way, try it
This did the trick for me
That got rid of the JIT debugger and put dr watson back in control, now all the suddon my apps don't crash anymore hmmmmmmmm. Could it be that JIT was causing the crashes. YES.
How do you open the IIS server? (I am not a programmer but I am having problems with JIT Debugger errors).
i have a solution that worked for me
open the registry editor, and navigate to this folder:
then delete the entire folder
however this won't neccessarily (and probably definately) re-enable third party applications, but it will stop JITDebugging from running.
I Live Life One Video Game At A Time. Play It Like You Mean It.
My problems started when I downloaded MS SilverLight. Now when I try to update my Zune software, it tells me that Windows Installer isn't working. When I try to re-download Windows Installer, I keep getting the JIT Debugger error message. I tried un-installing SliverLight, but the problem persists.
So, to suffice, the only three programs that are affected are ALL Microsoft programs that will NOT work together.
Great planning strategy, Bill
Changing the settings in IIS is a good approach - but if you are like me and you run a web app within IIS, you might want script debugging turned on (so the browser will display the error message) but you DON'T want the JIT Debugger to run (because this makes everything else stop - including IIS).
So here is what I did - (after trying numerous other solutions, including editing the registry)
I found these instruction on another site (but they did not work for me so I came up with my own solution, below):
*** what I found elsewhere -
You should be able to disable the JIT Debugger in Internet Explorer, via:
Windows Control Panel > Internet Options > Advanced tab:
Checkmark both "disable script debugging (IE/other)" options
Uncheck "display a notification about every script error"
Or go to: Control Panel > Admin Tools > Services
and disable Visual Studio JIT Debugger, if listed.
Look for a service that points to one of the following executables:
C:\WINDOWS\system32\vsjitdebugger.exe
C:\Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit.exe
********* THIS IS WHAT WORKED FOR ME:
I went here C:\WINDOWS\system32\vsjitdebugger.exe and renamed vsjitdebugger.exe to vsjitdebuggerBACK.exe (*this worked for me)
. but just in case.
Then I went here C:\Program Files\Common Files\Microsoft Shared\VS7Debug and I also renamed the folder VS7Debug (actually VS7DEBUG) to VSDebugback (VS7DEBUGback)
What if you don't have IIS installed? Also, is there a way to get rid of the just in time debugger programatically? I'm running a bunch of tests and when one fails it throws the debugger which pauses the run and my other tests don't execute! Very annoying!
My problem is that a lot of time I get this error with other applications. It happens a lot with Mcafee and other Win32 apps. Trying to set the ie setting does not seem to help. Now I am having one with filezilla.exe for ftp. It does not happen when I am doing development. The problem almost made PC unusable.
I got it resloved by making JITDebug, 0 under HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings
I am so pissed right now. My computer is having the same issue here. when the debugger starts popping up, my ixplore no longer run. slows down my whole computer, programes etc. It won't let me get rid of visual studio. I tried remove software but it's missing components so I can't delete it out of my computer. What should I do? I just slows everything and I can't even work on it. Someone please tell me what to do?
I would think that's the case. but I am sure my boyfriend's computer was crashed by this aswell. He's the one who uses visual basic..and he's computer kept crashing down. boot it up. then dies down. it was a virus that he caught. I believe visual basic made it vulnerable for viruses or something.
My computer had not had a problem for 5 years. when his computer crash a month ago, he installed visual on mine labtop. and now my labtop is not working property. I can not log on internet period. The just in time debugger keeps popping up in the middle of my work and killing my programe.
I not a genius in computer, but I know Visual basic needs to fix this problem. It's so shittie!
I got it resloved by making JITDebug, 0 under HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings
can you put in more details.
my problem is I can't get anywher.e.that ____ just keeps popping up. seems like it's in internet explorer. I can not go to that problem period. anything involve the net.
I've seen a lot of suggestions in this thread, but there is a setting in Visual Studio that turns this on and off. See http://msdn.microsoft.com/en-us/library/k8kf6y2a.aspx "How to: Enable/Disable Just-In-Time Debugging".
I had Microsoft Expression installed which included Visual Studio and Silverlight. I use Windows XP. Expression continued to crash my computer and after a few weeks of technical support not being able to solve the problem for me, they let me return the software. However, I am still getting this error:
An unhandled win32 exception occurred in svchost.exe [1480]. Just in time debugging this exeption failed with the following error: No installed debugger has Just in Time Debugging enabled. In Visual Studio Just in Time Debugging can be enabled from Tools/options/Debugging/Just in Time
Well I don't have Visual Studio anymore, that was uninstalled. Clean.
I do have a key in the registry where it was referred to above and it is currently set to zero. Is this the problem?
Help me fix this because my computer crashes when I play computer games, when I use Photoshop, when I use Nero Photo Viewer, etc. etc. and I'm really really sick of this.
I'm not sure if this is the right place to ask this question, but I'm having issues, so here goes.
My problem started when I tried to sign in to Windows Live Messenger, it wouldn't work. In my search to fix that, I realized that Internet Explorer would not work either, it kept displaying the error message, "Unable to show the webpage." Then randomly, my Mozilla Firefox started to crash. I thought all of this was due to a virus. Next I was unable to sign into Yahoo Messenger. Then I started getting the Just-In-Time Debugger error. It asked me if I wanted to use Microsoft Script Editor to fix the problem. I clicked yes and it seemed to be working well, until I received a new error, "Unable to open registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\DELL\HWDiag\PCDpath' for reading." I am now at a loss as to how to fix things. Mozilla continues to crash (it crashed once as I tried to sign in to type this out) and nothing internet related seems to work very well. Can anyone help me? Please?!
Ok people here let me clear some things up for you. The default setting for JIT debugger in VS 2008 is set to "on" for managed and native. This is why when ever you have a program that ends unexpectedly or freezes up ( as the all tend to do at some point) JIT debugger pops up. Once it starts running it can in fact break your programs. Open up your Visual Studio program click tools/options/debugger and then JIT debugger. Uncheck all the boxes and now it is off. If you have uninstalled VS2008 and you are still finding peices of it in your registry then Download CCleaner . This program is highly respected and will find all registry enteries from old deleted and uninstalled programs and make them go away. Almost every single program I have ever uninstalled leaves behind some unused regestry entry or .dll file in the system. I use it at work all the time.
Now I cannot even get windows update to work without that just in time debugger error coming up. . That never happened before. I have tried setting the value to 1 as suggested above. That did not work. It already was set to zero. I uninstalled Visual Studio a long time ago with help from a microsoft tech. I did not know I'd have the just in time issue because it didn't happen again for a while and now I'd have to pay hundreds of dollars for help.
This is just getting to be impossible.
Please help, someone? Anyone.
This happened to me too I then strted getting BSOD then installed windows7 maybe you can reinstall OS
i have had simillar problums with debug but not with the debug with the actually program and debug has not interefeared with any of my programs yet considering i only had the program now for about 2 hours i was able to copy this repeated error to clip board i hope it helps the development team
i have had simillar problums with debug but not with the debug with the actually program and debug has not interefeared with any of my programs yet considering i only had the program now for about 2 hours i was able to copy this repeated error to clip board i hope it helps the development team
Never mind dont ues the power pack
are crawlling with bugs still
dont use or incounter this reocurring error
User beware
наш buildserver (TeamCity, очень рекомендуется) запускает целую кучу тестов на нашей готовой программе c++.
кто-нибудь знает способ гарантировать, что любое необработанное исключение в программе не приведет к модальному диалогу?
удалить (или переименовать) c:\windows\system32\vsjitdebugger.исполняемый.
Я попытался удалить ключи реестра, и я попытался снять все флажки в параметрах Visual Studio, но ни один из них не работал.
чтобы быть ясным, моя ситуация не была C++. Я использовал Micro Focus COBOL для Visual Studio 2010, и с помощью предложений реестра и параметров VS мне удалось избавиться от "хотите отлаживать?"диалог, но это привело к другому диалогу, чтобы задержать мой автоматический процесс:
Visual Studio Just-In-Time Debugger
необработанное исключение ('COBOL runtime: обнаружена ошибка') произошло в CASDBC.exe [3564]. Отладка Just-In-Time это исключение завершилось со следующей ошибкой: не установлен отладчик только в режиме отладки. В Visual Studio, Просто-В-Время отладка может быть включена из Tools/Options/Debugging / Just-In-Time.
Проверьте индекс документации для " Just-in-time отладки, ошибки для подробная информация.
в моем случае, на сервере win2012, я попробовал:
- удаление ключей реестра
- удаление exe для отладчика jit из c:\windows\system32
и он все-таки подошел!
Я перезагрузился и т. д. Делал мой веб-сайт в IIS stall, пока диалог не был подтвержден!
окончательное решение, которое действительно работало: в панели управления, в программах: удален "Microsoft Visual Studion 2010 Shell (Isolated)" удалил это, и проблема разрешенный.
(работает ли среда SQL Management Studio. Я не знаю!)
в окне для вопроса
вы хотите отлаживать с помощью выбранного отладчика?
клик да (откроется в новом окне) > опции (Меню верхнего ряда)> DEBUG
лучшее решение этой проблемы настолько просто 2 шага, чтобы сделать это откройте командную строку введите : regedit перейдите к пути-->HKEY_LOCAL_MACHINE-->программное обеспечение-->Microsoft-->Windows NT-->CurrentVersion-->AeDebug Теперь вы можете найти файл : отладчик щелкните правой кнопкой мыши , изменить скопируйте и вставьте этот текст в нем:
Читайте также: