我一直在使用JIT调试时出错。这是确切的错误。

问题描述:

有关调用&bbsp
实时(JIT)调试而不是此对话框的详细信息,请参阅此消息的结尾。



**************异常文本**************
$
System.UnauthorizedAccessException:访问路径'备份'被拒绝。

    at System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)

    at System.IO.Directory.InternalCreateDirectory(String fullPath,String path,Object dirSecurityObj,Boolean checkHost)

    at System.IO.Directory.InternalCreateDirectoryHelper(String path,Boolean checkHost)

    at System.IO.Directory.CreateDirectory(String path)

    at pk3DS.Main.backupGARCs(Boolean overwrite,String [] g)

    at pk3DS.Main.checkIfRomFS(String path)

    at pk3DS.Main.openQuick(String path)

    at pk3DS.Main.B_Open_Click(Object sender,EventArgs e)

    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key,EventArgs e)

    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,ToolStripItemEventType met)

    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,ToolStripItemEventType符合)

    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   在System.Windows.Forms.Control.WmMouseUp(消息& m,MouseButtons按钮,Int32点击)

    at System.Windows.Forms.Control.WndProc(Message& m)

    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

    at System.Windows.Forms.ToolStrip.WndProc(Message& m)

    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

    at 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.7.2110.0建立者:NET47REL1LAST

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

----------------- -----------------------

pk3DS

   汇编版本:1.0.0.0

    Win32版本:1.0.0.0

    CodeBase:file:/// C:/ Users / Frostii / AppData / Local / Temp / Temp1_RHSP%20(3).zip / Rom%20Hack%20Starter%20Pack / pk3DS.exe

- --------------------------------------
$
System.Windows。表格

   汇编版本:4.0.0.0

    Win32版本:4.7.2106.0建立者:NET47REL1LAST

    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.7.2110.0建立者:NET47REL1LAST

    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.7.2053.0建立者:NET47REL1

    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.7.2053.0建立者:NET47REL1

    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.7.2106.0建立者:NET47REL1LAST

    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.7.2102.0建立者:NET47REL1LAST

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

----- -----------------------------------
$


************** JIT调试**************

启用实时(JIT)调试,此
应用程序或计算机(machine.config)的.config文件必须在system.windows.forms部分设置

jitDebugging值。

应用程序也必须使用调试进行编译

启用。



例如:



< configuration>

  &NBSP; < system.windows.forms jitDebugging =" true" />
$
< / configuration>



启用JIT调试后,任何未处理的异常

将被发送到计算机上注册的JIT调试器

而不是由此对话框处理。

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'backup' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at System.IO.Directory.CreateDirectory(String path)
   at pk3DS.Main.backupGARCs(Boolean overwrite, String[] g)
   at pk3DS.Main.checkIfRomFS(String path)
   at pk3DS.Main.openQuick(String path)
   at pk3DS.Main.B_Open_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
pk3DS
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Frostii/AppData/Local/Temp/Temp1_RHSP%20(3).zip/Rom%20Hack%20Starter%20Pack/pk3DS.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** 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>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

嗨雨,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

您能否告诉我们何时出现此错误消息?启动VS或其他应用程序?

Could you please tell us when this error message occur? launch VS or other applications?

JIT调试使您能够在Visual Studio未运行时测试您的应用程序,并在出现问题时开始使用Visual Studio进行调试。

JIT debugging enables you to test your application when Visual Studio is not running and begin debugging with Visual Studio when a problem occurs.

根据我们的经验,这个问题不是由.Net Framework引起的,而是一些后台程序例外或反病毒软件。

Based on our experience, this issue is not caused by .Net Framework, but the some background programs exception or Anti-virus software.

你可以按照来自 Just-In-的说明时间调试以禁用JIT调试对话框。

You could follow the instructions from Just-In-Time Debugging to disable the JIT debugging dialog box.

然后请执行以下步骤:

如何执行干净启动程序以确定后台程序是否干扰您当前使用的游戏或程序

然后卸载或禁用AV软件,如Panda云防病毒或卡巴斯基,重启机器以检查是否他的错误信息仍然存在,如果它仍然存在,请随时与我们联系,我们愿意帮助您排除故障。

Then uninstall or disable the AV software, such as Panda cloud antivirus or Kaspersky, reboot your machine to check if this error information still occurs, if it is still exists, please feel free to contact us, we are willing to help you troubleshoot.

最好的问候,