Jitdebugging установленное в секции system windows forms

This repo is the home of the official Visual Studio, Visual Studio for Mac, Visual Studio Subscriptions, and Scripting Technologies documentation for Microsoft. - visualstudio-docs/debug-using-the-...
title description ms.date ms.topic helpviewer_keywords author ms.author manager ms.technology ms.workload

Debug using the Just-In-Time Debugger | Microsoft Docs

Debug using the Just-In-Time Debugger in Visual Studio. Just-In-Time debugging can launch Visual Studio automatically when an app errors or crashes.

12/13/2022

how-to

debugging [Visual Studio], Just-In-Time

Just-In-Time debugging

mikejo5000

mikejo

jmartens

vs-ide-debug

multiple

Debug using the Just-In-Time Debugger in Visual Studio

[!INCLUDE 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.

[!TIP]
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

[!NOTE]
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:

  1. On the Tools or Debug menu, select Options > Debugging > Just-In-Time.

    Enable or disable JIT debugging

[!NOTE]
If the Just-In-Time menu option is not shown, make sure the Just-In-Time debugger is installed using the Visual Studio Installer.

  1. 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.

  2. 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:

  1. From the Windows Start menu, run the Registry Editor (regedit.exe).

  2. In the Registry Editor window, locate and delete the following registry entries if they exist:

    • HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFrameworkDbgManagedDebugger

    • HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebugDebugger

    :::image type=»content» source=»../debugger/media/dbg-jit-registry.png» alt-text=»JIT registry key» border=»true»:::

  3. Also delete the following registry entries if they exist:

    • HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgManagedDebugger

    • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugDebugger

    Make sure not to delete or change any other registry keys.

  4. 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:

Windows Form unhandled exception

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 <app name>.exe.config file, set the jitDebugging value to true:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
  • 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:

    [assembly:System::Diagnostics::DebuggableAttribute(true, true)];

    For more information, see xref:System.Diagnostics.DebuggableAttribute.

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.

For this example, you’ll make a C# console app in Visual Studio that throws a NullReferenceException.

  1. In Visual Studio, create a C# console app (File > New > Project > Visual C# > Console Application) named ThrowsNullException. For more information about creating projects in Visual Studio, see Walkthrough: Create a simple application.

  2. 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:

    static void Main(string[] args)
    {
        Console.WriteLine("we will now throw a NullReferenceException");
        throw new NullReferenceException("this is the exception thrown by the console app");
    }
  3. To build the solution, choose either the Debug (default) or Release configuration, and then select Build > Rebuild Solution.

    [!NOTE]

    • 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.

  4. Open the built app ThrowsNullException.exe in your C# project folder (…ThrowsNullExceptionThrowsNullExceptionbinDebug or …ThrowsNullExceptionThrowsNullExceptionbinRelease).

    You should see the following command window:

    Screenshot of the console for ThrowsNullException.exe, which throws an unhandled null reference exception (System.NullReferenceException).

  5. The Choose Just-In-Time Debugger dialog opens.

    Screenshot of the Choose Just-In-Time Debugger dialog box, which appears after the exception appears in the ThrowsNullException.exe console window.

    Under Available Debuggers, select New instance of <your preferred Visual Studio version/edition>, if not already selected.

  6. Select OK.

    The ThrowsNullException project opens in a new instance of Visual Studio, with execution stopped at the line that threw the exception:

    Screenshot of the ThrowsNullException project in Visual Studio, with highlighting of the line of source code 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.

[!CAUTION]
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_MACHINESoftwareWOW6432NodeMicrosoftWindowsWindows Error Reporting

    • (For 32-bit machines) HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsWindows 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_MACHINESoftwareWOW6432NodeMicrosoftWindows NTCurrentVersionAeDebug

    • (For 32-bit machines) HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebug

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.

See also

  • Debugger security
  • First look at the debugger
  • Options, Debugging, Just-In-Time dialog box
  • Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process

После upgrade Vista Business до Windows 7 Professional после первой же перезагрузки компьютера появилась ошибка компилятора JIT:

Необрабатываемое исключение в приложении.
При нажатии кнопки «Продолжить» приложение проигнорирует ошибку и попытается продолжить работу.
При нажатии кнопки «Выход» приложение немедленно завершит работу.
Файл не найден.

В «Сведениях» при этом содержится следующий текст:

Подробная информация об использовании оперативной

(JIT) отладки вместо данного диалогового

окна содержится в конце этого сообщения.

************** Текст исключения **************

System.IO.FileNotFoundException: Файл не найден.

   в Microsoft.VisualBasic.Interaction.Shell(String PathName, AppWinStyle Style, Boolean Wait, Int32 Timeout)

   в EULALauncher.NET.Form1.Launch_EULA(String browser)

   в EULALauncher.NET.Form1.Timer1_Tick(Object sender, EventArgs e)

   в System.Windows.Forms.Timer.OnTick(EventArgs e)

   в System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************

mscorlib

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

—————————————-

GoogleEULALauncher

    Версия сборки: 1.0.3070.20876

    Версия Win32: 1.0.3070.20876

    CodeBase: file:///C:/Program%20Files/Google/Google%20EULA/GoogleEULALauncher.exe

—————————————-

System.Windows.Forms

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

—————————————-

System

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

—————————————-

System.Drawing

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

—————————————-

Microsoft.VisualBasic

    Версия сборки: 8.0.0.0

    Версия Win32: 8.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

—————————————-

EULACommon

    Версия сборки: 6.0.3070.20876

    Версия Win32: 6.0.3070.20876

    CodeBase: file:///C:/Program%20Files/Google/Google%20EULA/EULACommon.DLL

—————————————-

Microsoft.VisualBasic.resources

    Версия сборки: 8.0.0.0

    Версия Win32: 8.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_ru_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll

—————————————-

System.Windows.Forms.resources

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll

—————————————-

mscorlib.resources

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

—————————————-

************** Оперативная отладка (JIT) **************

Для подключения оперативной (JIT) отладки файл .config данного

приложения или компьютера (machine.config) должен иметь

значение jitDebugging, установленное в секции system.windows.forms.

Приложение также должно быть скомпилировано с включенной

отладкой.

Например:

<configuration>

    <system.windows.forms jitDebugging=»true» />

</configuration>

При включенной отладке JIT любое необрабатываемое исключение

пересылается отладчику JIT, зарегистрированному на данном компьютере,

вместо того чтобы обрабатываться данным диалоговым окном.

Подробная информация об использовании оперативной

(JIT) отладки вместо данного диалогового

окна содержится в конце этого сообщения.

************** Текст исключения **************

System.IO.FileNotFoundException: Файл не найден.

   в Microsoft.VisualBasic.Interaction.Shell(String PathName, AppWinStyle Style, Boolean Wait, Int32 Timeout)

   в EULALauncher.NET.Form1.Launch_EULA(String browser)

   в EULALauncher.NET.Form1.Timer1_Tick(Object sender, EventArgs e)

   в System.Windows.Forms.Timer.OnTick(EventArgs e)

   в System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************

mscorlib

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

—————————————-

GoogleEULALauncher

    Версия сборки: 1.0.3070.20876

    Версия Win32: 1.0.3070.20876

    CodeBase: file:///C:/Program%20Files/Google/Google%20EULA/GoogleEULALauncher.exe

—————————————-

System.Windows.Forms

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

—————————————-

System

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

—————————————-

System.Drawing

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

—————————————-

Microsoft.VisualBasic

    Версия сборки: 8.0.0.0

    Версия Win32: 8.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

—————————————-

EULACommon

    Версия сборки: 6.0.3070.20876

    Версия Win32: 6.0.3070.20876

    CodeBase: file:///C:/Program%20Files/Google/Google%20EULA/EULACommon.DLL

—————————————-

Microsoft.VisualBasic.resources

    Версия сборки: 8.0.0.0

    Версия Win32: 8.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_ru_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll

—————————————-

System.Windows.Forms.resources

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll

—————————————-

mscorlib.resources

    Версия сборки: 2.0.0.0

    Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

—————————————-

************** Оперативная отладка (JIT) **************

Для подключения оперативной (JIT) отладки файл .config данного

приложения или компьютера (machine.config) должен иметь

значение jitDebugging, установленное в секции system.windows.forms.

Приложение также должно быть скомпилировано с включенной

отладкой.

Например:

<configuration>

    <system.windows.forms jitDebugging=»true» />

</configuration>

При включенной отладке JIT любое необрабатываемое исключение

пересылается отладчику JIT, зарегистрированному на данном компьютере,

вместо того чтобы обрабатываться данным диалоговым окном.

Ошибка эта, как оказалось, далеко не новость: в различных блогах её обсуждают уже давно. Но найти какое-либо вразумительное объяснение её причины и, соответственно, решения, самостоятельно мне пока не удалось. Просьба откликнутся, если кто-то действительно с этой проблемой знаком и знает, как её решить, не уродуя систему.

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.InvalidProgramException: Среда выполнения Common Language Runtime обнаружила недопустимую программу.
   в Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
   в Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
   в Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
   в Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()

************** Загруженные сборки **************
mscorlib
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
—————————————-
Acdbmgd
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcdbMgd.DLL
—————————————-
System
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Core
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
AdApplicationFrame
    Версия сборки: 0.0.0.0
    Версия Win32: 3.5.19.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdApplicationFrame.DLL
—————————————-
AdWindows
    Версия сборки: 3.5.102.0
    Версия Win32: 3.5.102.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdWindows.DLL
—————————————-
PresentationFramework
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
—————————————-
WindowsBase
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
—————————————-
PresentationCore
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
—————————————-
System.Xaml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
—————————————-
AdWindows.resources
    Версия сборки: 3.5.21.0
    Версия Win32: 3.5.21.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AdWindows.resources.DLL
—————————————-
System.Xml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
PresentationFramework.Aero
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
—————————————-
System.Drawing
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
PresentationCore.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationCore.resources/v4.0_4.0.0.0_ru_31bf3856ad364e35/PresentationCore.resources.dll
—————————————-
accoremgd
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/accoremgd.DLL
—————————————-
Acmgd
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/Acmgd.DLL
—————————————-
System.Configuration
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
AcWindows
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.DLL
—————————————-
PresentationFramework.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.resources/v4.0_4.0.0.0_ru_31bf3856ad364e35/PresentationFramework.resources.dll
—————————————-
AcCui
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCui.DLL
—————————————-
PresentationFramework-SystemXml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
—————————————-
mscorlib.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
—————————————-
System.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.resources.dll
—————————————-
WindowsFormsIntegration
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
—————————————-
AcWindows.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcWindows.resources.DLL
—————————————-
PresentationUI
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll
—————————————-
PresentationUI.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI.resources/v4.0_4.0.0.0_ru_31bf3856ad364e35/PresentationUI.resources.dll
—————————————-
System.Xml.Linq
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
—————————————-
System.Windows.Forms
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
PresentationFramework-SystemXmlLinq
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
—————————————-
PresentationFramework-SystemCore
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
—————————————-
AcTaskDialogs
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcTaskDialogs.DLL
—————————————-
AcTaskDialogs.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcTaskDialogs.resources.DLL
—————————————-
System.Drawing.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.resources/v4.0_4.0.0.0_ru_b03f5f7f11d50a3a/System.Drawing.resources.dll
—————————————-
ManagedMC3
    Версия сборки: 6.4.0.0
    Версия Win32: 6.4.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ManagedMC3.DLL
—————————————-
AcLayer
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcLayer.DLL
—————————————-
AcLayer.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcLayer.resources.DLL
—————————————-
UIAutomationProvider
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
—————————————-
AcDialogToolTips
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcDialogToolTips.DLL
—————————————-
AcDialogTooltips.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcDialogToolTips.resources.DLL
—————————————-
AcLivePreviewContext
    Версия сборки: 0.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.dll
—————————————-
AcCommandToolTips
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCommandToolTips.DLL
—————————————-
AcCommandTooltips.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcCommandToolTips.resources.DLL
—————————————-
AcMr
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcMr.DLL
—————————————-
System.Runtime.Serialization
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
—————————————-
Connect.Client.AutoCAD
    Версия сборки: 3.0.84.0
    Версия Win32: 3.0.84.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/Connect.Client.AutoCAD.DLL
—————————————-
Connect.Client.AutoCAD.resources
    Версия сборки: 3.0.84.0
    Версия Win32: 3.0.84.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/Connect.Client.AutoCAD.resources.DLL
—————————————-
AcCustomize
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCustomize.DLL
—————————————-
AcCustomize.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcCustomize.resources.DLL
—————————————-
System.Windows.Forms.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-
PresentationFramework.Luna
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.17020 built by: FXM3REL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Luna/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
—————————————-
AcCalcUi
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.204.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCalcUi.DLL
—————————————-
AcCalcUi.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcCalcUi.resources.DLL
—————————————-
AcLayerTools
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcLayerTools.DLL
—————————————-
AcLayerTools.resources
    Версия сборки: 19.0.0.0
    Версия Win32: 19.0.55.0.0
    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ru-RU/AcLayerTools.resources.DLL
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
    <system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

  • Remove From My Forums
  • Question

  • I need to enable JIT Debugging in one of my apps. It seems to be working fine in another one even larger and more complex. I have never included the required statement in the app config in there but enabled it for all three codes (managed, native, script) in the Tools=>Options=>Debugging=>Just In Time

    With this app it does not work this way and I have no explanation. The prompt offered by the system when it shows the exception is this:

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging=»true» />
    </configuration>

    I tried some variants

                    </roleManager>
    	</system.web>
    	<configuration>
    	      <system.windows.forms jitDebugging="true" />
    	</configuration>
    </configuration>

    In the xml above I placed the insert at the very bottom of <configuration> section.

    This gives me the following. The app breaks down as expected. It seems the JIT debugger starts working and I get this exception:

    System.Configuration.ConfigurationErrorsException was unhandled
      Message=»Configuration system failed to initialize»
      Source=»System.Configuration»
      BareMessage=»Configuration system failed to initialize»
      Line=0
      StackTrace:
           at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
           at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
           at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
           at System.Configuration.ConfigurationManager.GetSection(String sectionName)
           at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
           at System.Net.Configuration.SettingsSectionInternal.get_Section()
           at System.Net.Sockets.Socket.InitializeSockets()
           at System.Net.NetworkInformation.NetworkChange.AddressChangeListener.StartHelper(NetworkAddressChangedEventHandler caller, Boolean captureContext, StartIPOptions startIPOptions)
           at System.Net.NetworkInformation.NetworkChange.add_NetworkAddressChanged(NetworkAddressChangedEventHandler value)
           at tapTCPports_1.Form1.Main()
      InnerException: System.Configuration.ConfigurationErrorsException
           Message=»Unrecognized configuration section configuration. (C:\VCSharp_Projects\tapTCPports_1\bin\Release\tapTCPports_1.exe.Config line 55)»
           Source=»System.Configuration»
           BareMessage=»Unrecognized configuration section configuration.»
           Filename=»C:\VCSharp_Projects\tapTCPports_1\bin\Release\tapTCPports_1.exe.Config»
           Line=55
           StackTrace:
                at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
                at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
                at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
           InnerException:

    InnerException was empty.

    Other variants were ignored.

    What is the right way to enable the JIT Debugger?

    BTW the app works fine in debug and until half an hour ago worked fine in realese also but I’ve been making numerous changes and one of them apparently upset the balance and I cannot trace it back to the goilty point.

    Thanks.


    AlexB

Answers

  • That’s right, why are you nesting the <configuration> node? I think the config should look more like this:


            </roleManager>
        </system.web>
        <system.windows.forms jitDebugging=»true» />
    </configuration>

    • Marked as answer by

      Monday, May 18, 2009 2:47 PM

  • Hi AlexBB,

    I’m not sure JIT debugging is actually starting in this scenario. It looks more like it’s bombing out while trying to get the configuration.

    I wonder why you’re using nested <configuration> elements in the XML.

    Possibly an XML variant which appeared to be ignored was valid, but debugging wasn’t actually enabled under Tools > Options. I’m sure you took the steps to turn it on, but apparently under some circumstances you have to be running with administrative privileges to reset the registry keys in question. You could try toggling those settings while running VS as Administrator, and then recompiling.

    If that doesn’t work, maybe there’s some other detail we’ve overlooked in the procedures for enabling JIT debugging:

    You can enable Just-In-Time debugging from the Options dialog box. For more information, see How to: Enable/Disable Just-In-Time Debugging.

    For Windows forms, you must also enable Just-In-Time debugging in the machine.config or application.exe.config file. For more information, see How to: Enable Just-In-Time Debugging for Windows Forms.

    I’m sure you’ve already seen those links, but sometimes when you read things again the answer will jump out at you.

    • Edited by
      Matt Fisher
      Saturday, May 16, 2009 5:08 AM
      Removed a doubtful statement
    • Marked as answer by
      AlexBB — Vista Ult64 SqlSer64 WinSer64
      Monday, May 18, 2009 2:47 PM

boze2012

Сообщения: 2
Зарегистрирован: 16 авг 2012, 18:18

Ошибка при запуске программы.(JIT) отладка

Ошибка вылетает на Stimulsoft Reports.Ultimate 2011.3 и на 2012.1
При старте программы масштаб становится минимальным панель инструментов не видно, если нажать продолжить программа запустится, но не всегда работает корректно.

Изображение

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Xml.XmlException: Отсутствует корневой элемент.
в System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
в System.Xml.XmlTextReaderImpl.ParseDocumentContent()
в System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
в System.Xml.XmlDocument.Load(XmlReader reader)
в System.Xml.XmlDocument.Load(String filename)
в Stimulsoft.Controls.Win.DotNetBar.DotNetBarManager.LoadLayout(String FileName)
в Stimulsoft.Report.Design.StiDesignerConfigService.Load()
в Stimulsoft.Report.Design.StiDesignerControl.LoadDesignerParam()
в Stimulsoft.Report.Design.StiDesignerControl.OnPaint(PaintEventArgs e)
в System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
в System.Windows.Forms.Control.WmPaint(Message& m)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.544 (RTMLDR.030319-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
—————————————-
Designer
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Reports.Ultimate%202012.1/Bin/Designer.exe
—————————————-
Stimulsoft.Report
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.dll
—————————————-
System
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.544 built by: RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
Stimulsoft.Base
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Base/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Base.dll
—————————————-
System.Windows.Forms
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.560 built by: RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System.Drawing
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.568 built by: RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
Stimulsoft.Report.Design
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Design.dll
—————————————-
Stimulsoft.Controls.Win
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls.Win/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Controls.Win.dll
—————————————-
System.Xml
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.450 built by: RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
Accessibility
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
—————————————-
Stimulsoft.Report.Check
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Check/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Check.dll
—————————————-
Stimulsoft.Report.Helper
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Helper/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Helper.dll
—————————————-
Stimulsoft.Report.Win
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Win/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Win.dll
—————————————-
Stimulsoft.Report.Design.WebViewer
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design.WebViewer/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Design.WebViewer.dll
—————————————-
Stimulsoft.Report.Design.SLViewer
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design.SLViewer/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Report.Design.SLViewer.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-
Stimulsoft.Controls
Версия сборки: 2012.1.1300.0
Версия Win32: 2012.1.1300.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls/2012.1.1300.0__ebe6666cba19647a/Stimulsoft.Controls.dll
—————————————-
System.Data
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.506 (RTMLDR.030319-5000)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
—————————————-
System.Core
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.450 built by: RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System.xml.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Xml.resources.dll
—————————————-
mscorlib.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.454 (RTMLDR.030319-4500)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

————————————————

Версия AIDA64 v2.20.1800/ru
Тестовый модуль 2.7.398-x64
Домашняя страница http://www.aida64.com/
Тип отчёта Быстрый отчёт
Компьютер P8
Генератор boze
Операционная система Microsoft Windows 7 Enterprise 6.1.7601 (Win7 RTM)
Дата 2012-08-17
Время 10:12

———[ Операционная система ]—————————————————————————————-

Свойства операционной системы:
Название ОС Microsoft Windows 7 Enterprise
Язык ОС Русский (Россия)
Язык установщика ОС Русский (Россия)
Тип ядра ОС Multiprocessor Free (64-bit)
Версия ОС 6.1.7601 (Win7 RTM)
Пакет обновления ОС Service Pack 1
Дата установки ОС 06.02.2012
Основная папка ОС C:Windows

Версии компонентов:
Common Controls 6.16
Windows Mail 6.1.7600.16385 (win7_rtm.090713-1255)
Windows Media Player 12.0.7600.16385 (win7_rtm.090713-1255)
Windows Messenger —
MSN Messenger —
Internet Information Services (IIS) 7.5
.NET Framework 4.0.30319.1 built by: RTMRel
Novell Client —
DirectX DirectX 11.0
OpenGL 6.1.7600.16385 (win7_rtm.090713-1255)
ASPI —

Функции операционной системы:
Отладочная версия Нет
Версия DBCS Нет
Контроллер домена Нет
Наличие безопасности Нет
Наличие сети Да
Удалённая сессия Нет
Безопасный режим Нет
Медленный процессор Нет
Терминальные службы Да

Ivan

Сообщения: 641
Зарегистрирован: 10 авг 2006, 05:40
Откуда: Stimulsoft Office

Re: Ошибка при запуске программы.(JIT) отладка

Сообщение

Ivan » 17 авг 2012, 19:32

Здравствуйте.

Похоже у вас проблемы при считывании файла настроек дизайнера.
Попробуйте удалить следующую папку:

Код: Выделить всё

C:Users__текущий_пользователь__AppDataLocalStimulsoft

При следующем запуске дизайнера он должен пересоздать эту папку со стандартными настройками.

Спасибо.

boze2012

Сообщения: 2
Зарегистрирован: 16 авг 2012, 18:18

Михаил

Сообщения: 2
Зарегистрирован: 25 авг 2014, 15:15

Re: Ошибка при запуске программы.(JIT) отладка

Сообщение

Михаил » 25 авг 2014, 15:25

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Xml.XmlException: Недопустимые данные на корневом уровне. Строка 1, позиция 1.
в System.Xml.XmlTextReaderImpl.Throw(Exception e)
в System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
в System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
в System.Xml.XmlTextReaderImpl.ParseDocumentContent()
в System.Xml.XmlTextReaderImpl.Read()
в KSharp.SettingsLocal.read()
в KSharp.Main.onLoad(Object sender, EventArgs e)
в System.Windows.Forms.Form.OnLoad(EventArgs e)
в System.Windows.Forms.Form.OnCreateControl()
в System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
в System.Windows.Forms.Control.CreateControl()
в System.Windows.Forms.Control.WmShowWindow(Message& m)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ContainerControl.WndProc(Message& m)
в System.Windows.Forms.Form.WmShowWindow(Message& m)
в System.Windows.Forms.Form.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
—————————————-
AcroRd32
Версия сборки: 10.1.2.45
Версия Win32: 10.1.2.45
CodeBase: file:///C:/Users/Михаил/AppData/Local/Adobe/Acrobat/Shared%20Services/AcroRd32.exe
—————————————-
System
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Windows.Forms
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System.Drawing
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Xml
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
mscorlib.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
—————————————-
System.XML.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_ru_b77a5c561934e089/System.Xml.resources.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

Михаил

Сообщения: 2
Зарегистрирован: 25 авг 2014, 15:15

Re: Ошибка при запуске программы.(JIT) отладка

Сообщение

Михаил » 25 авг 2014, 15:26

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Xml.XmlException: Недопустимые данные на корневом уровне. Строка 1, позиция 1.
в System.Xml.XmlTextReaderImpl.Throw(Exception e)
в System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
в System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
в System.Xml.XmlTextReaderImpl.ParseDocumentContent()
в System.Xml.XmlTextReaderImpl.Read()
в KSharp.SettingsLocal.read()
в KSharp.Main.onLoad(Object sender, EventArgs e)
в System.Windows.Forms.Form.OnLoad(EventArgs e)
в System.Windows.Forms.Form.OnCreateControl()
в System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
в System.Windows.Forms.Control.CreateControl()
в System.Windows.Forms.Control.WmShowWindow(Message& m)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ContainerControl.WndProc(Message& m)
в System.Windows.Forms.Form.WmShowWindow(Message& m)
в System.Windows.Forms.Form.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
—————————————-
AcroRd32
Версия сборки: 10.1.2.45
Версия Win32: 10.1.2.45
CodeBase: file:///C:/Users/Михаил/AppData/Local/Adobe/Acrobat/Shared%20Services/AcroRd32.exe
—————————————-
System
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Windows.Forms
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System.Drawing
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Xml
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
mscorlib.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
—————————————-
System.XML.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_ru_b77a5c561934e089/System.Xml.resources.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

NikolaiPanin

Сообщения: 2
Зарегистрирован: 06 дек 2014, 16:43

Re: Ошибка при запуске программы.(JIT) отладка

Сообщение

NikolaiPanin » 06 дек 2014, 16:51

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.InvalidCastException: Приведение строки «303.9» к типу «Double» является недопустимым. —> System.FormatException: Входная строка имела неверный формат.
в Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
— Конец трассировки внутреннего стека исключений —
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
в PerformanceCalculatorTemplate1.Form1.btnCalc_Click(Object sender, EventArgs e)
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
—————————————-
TOPER B777
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/TOPER%20Calculator%20Tool/B777/TOPER%20B777.exe
—————————————-
Microsoft.VisualBasic
Версия сборки: 10.0.0.0
Версия Win32: 11.0.50938.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
—————————————-
System
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Core
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System.Windows.Forms
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System.Drawing
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Runtime.Remoting
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34245 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
—————————————-
System.Configuration
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
System.Xml
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-
mscorlib.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
—————————————-
Accessibility
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
—————————————-
Microsoft.VisualBasic.resources
Версия сборки: 10.0.0.0
Версия Win32: 11.0.50938.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_ru_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

NikolaiPanin

Сообщения: 2
Зарегистрирован: 06 дек 2014, 16:43

Re: Ошибка при запуске программы.(JIT) отладка

Сообщение

NikolaiPanin » 08 дек 2014, 13:37

Когда запускаю приложение,то появляется такая ошибка,я даже не знаю в чем причина
Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.InvalidCastException: Приведение строки «311.3» к типу «Double» является недопустимым. —> System.FormatException: Входная строка имела неверный формат.
в Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
— Конец трассировки внутреннего стека исключений —
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
в Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
в PerformanceCalculatorTemplate1.Form1.btnCalc_Click(Object sender, EventArgs e)
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
—————————————-
TOPER B777
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/TOPER%20Calculator%20Tool/B777/TOPER%20B777.exe
—————————————-
Microsoft.VisualBasic
Версия сборки: 10.0.0.0
Версия Win32: 11.0.50938.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
—————————————-
System
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Core
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System.Windows.Forms
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System.Drawing
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Runtime.Remoting
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34245 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
—————————————-
System.Configuration
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
System.Xml
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-
mscorlib.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
—————————————-
Accessibility
Версия сборки: 4.0.0.0
Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
—————————————-
Microsoft.VisualBasic.resources
Версия сборки: 10.0.0.0
Версия Win32: 11.0.50938.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_ru_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

************** Текст исключения ************** 

 System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.

в DXHelper.DisplayInfo.InitDisplayModeList()

в DXHelper.DisplayInfo..ctor() в fifasetup_csharp.Settings.CreateSettingsForAdapter()

в fifasetup_csharp.StartingForm.PlayButton_Click(Object sender, EventArgs e)

в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

в System.Windows.Forms.Control.WndProc(Message& m) в System.Windows.Forms.ButtonBase.WndProc(Message& m)

в System.Windows.Forms.Button.WndProc(Message& m) в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************

mscorlib

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18444 built by: FX451RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

—————————————-

fifaconfig

Версия сборки: 1.0.0.0

Версия Win32: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Origin%20Games/FIFA%2015/fifasetup/fifaconfig.exe

—————————————-

System

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

—————————————-

System.Windows.Forms

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

—————————————-

System.Drawing

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

—————————————-

DXHelper

Версия сборки: 1.0.5318.28514 Версия Win32: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Origin%20Games/FIFA%2015/fifasetup/DXHelper.DLL

—————————————-

System.Core Версия сборки: 4.0.0.0 Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

—————————————-

fifaconfig.resources

Версия сборки: 1.0.0.0

Версия Win32: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Origin%20Games/FIFA%2015/fifasetup/ru-RU/fifaconfig.resources.DLL

—————————————-

mscorlib.resources

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll

—————————————-

System.Xml

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.34234 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

—————————————-

System.Windows.Forms.resources

Версия сборки: 4.0.0.0

Версия Win32: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll

—————————————-

************** Оперативная отладка (JIT) **************

  • Remove From My Forums
  • Question

  • How do I enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer and the latest one says when I attempted to watch a DVD video with VLC media player but this isn’t the first error this week saying
    that JIT debugging must be enabled and I don’t know how to do that : ( «Microsoft Visual C++  Runtime Library»  Assertion Failed! Program C:Program Files (x86) VideoLANVLCvlc.exe  File: vm.c

    Line: 1765

    Expression: pgcit != NULL

    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.

    (Press Retry to debug the application- JIT must be enabled)

Answers

  • Hi Rhondavas77,

    To enable/disable Just-In-Time debugging

    1. On the Tools menu, click Options.

    2. In the Options dialog box, select the Debugging folder.

    3. In the Debugging folder, select the Just-In-Time page.

    4. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types:
      Managed, Native, or Script.

      To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.

    5. Click OK.

    More information is here.

    http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx

    Best Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

    • Marked as answer by

      Wednesday, October 23, 2013 8:33 AM

  • Remove From My Forums
  • Question

  • How do I enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer and the latest one says when I attempted to watch a DVD video with VLC media player but this isn’t the first error this week saying
    that JIT debugging must be enabled and I don’t know how to do that : ( «Microsoft Visual C++  Runtime Library»  Assertion Failed! Program C:Program Files (x86) VideoLANVLCvlc.exe  File: vm.c

    Line: 1765

    Expression: pgcit != NULL

    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.

    (Press Retry to debug the application- JIT must be enabled)

Answers

  • Hi Rhondavas77,

    To enable/disable Just-In-Time debugging

    1. On the Tools menu, click Options.

    2. In the Options dialog box, select the Debugging folder.

    3. In the Debugging folder, select the Just-In-Time page.

    4. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types:
      Managed, Native, or Script.

      To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.

    5. Click OK.

    More information is here.

    http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx

    Best Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

    • Marked as answer by

      Wednesday, October 23, 2013 8:33 AM

Подробная информация

Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Data.OleDb.OleDbException (0x80004005): В операции должен использоваться обновляемый запрос.
в System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(OleDbHResult hr)
в System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult)
в System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
в System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult)
в System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method)
в System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
в Reminder2020.ReminderDataSetTableAdapters.LabourPr otectionTableAdapter.Insert(String NameTask, Nullable`1 DateTask, Nullable`1 NextDate, Nullable`1 Number, String PeriodOfRemind, String PeriodAtYear) в d:Reminder2020Reminder2020Reminder2020Reminder DataSet.Designer.cs:строка 3299
в Reminder2020.LabourProtectionMain.добавитьЗаданиеT oolStripMenuItem_Click(Object sender, EventArgs e) в d:Reminder2020Reminder2020Reminder2020LabourPr otectionMain.cs:строка 258
в System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.MenuStrip.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
—————————————-
ReMi2020
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ReMi/Remi2020/Debug/ReMi2020.exe
—————————————-
System.Windows.Forms
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Drawing
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Configuration
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
System.Core
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System.Xml
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
mscorlib.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
—————————————-
System.Data
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
—————————————-
System.Data.DataSetExtensions
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
—————————————-
System.Numerics
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
—————————————-
System.Windows.Forms.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
—————————————-
System.Data.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Data.resources.dll
—————————————-
System.Transactions
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
—————————————-
System.EnterpriseServices
Версия сборки: 4.0.0.0
Версия Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
—————————————-

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging=»true» />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.

Добавлено через 2 часа 18 минут

Цитата
Сообщение от evgovs1991
Посмотреть сообщение

Как исправить эту ошибку? При попытке сделать какие то манипуляции с база данной выбивает эта ошибка. Access database engine установлен. Сборка под x86

Проблема решена. Нужно снять монопольный доступ с базы данных

Понравилась статья? Поделить с друзьями:
  • Jdk скачать 64 bit windows 10 последняя версия
  • Jdk скачать 64 bit windows 10 на русском
  • Jdk download 64 bit windows 10 oracle
  • Jdk 8u321 windows x64 exe скачать
  • Jdk 8u281 windows x64 exe скачать