SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

exception when attaching debugger

Last post 09-23-2009 1:53 AM by DavidSrbecky. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-02-2009 2:57 PM

    exception when attaching debugger

     SharpDevelop Version : 3.1.0.4077
    .NET Version         : 2.0.50727.3082
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : English (United States) (en-US)
    Working Set Memory   : 134996kb
    GC Heap Memory       : 82323kb

    Exception thrown:
    System.Runtime.InteropServices.COMException (0x80131323): Cannot use JMC on this code (likely wrong JIT settings). (Exception from HRESULT: 0x80131323)
       at Debugger.Interop.CorDebug.ICorDebugModule2.SetJMCStatus(Int32 bIsJustMyCode, UInt32 cTokens, UInt32& pTokens)
       at Debugger.Module.ResetJustMyCodeStatus()
       at Debugger.Module..ctor(Process process, ICorDebugModule pModule)
       at Debugger.Process.AddModule(ICorDebugModule corModule)
       at Debugger.ManagedCallback.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
       at Debugger.ManagedCallbackSwitch.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
       at Debugger.ManagedCallbackProxy.<>c__DisplayClass1c.<LoadModule>b__1b()
       at Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
       at Debugger.Interop.MTA2STA.PerformCall()
       at Debugger.Interop.MTA2STA.PerformAllCalls()
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

    ---- Recent log messages:
    08:53:24.780 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.780 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.780 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.780 [1] DEBUG - Debugger: Callback: LoadModule C:\Trunk\Risk\TruView\Bin\log4net.dll
    08:53:24.780 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.780 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.780 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Remoting\2.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadModule C:\Trunk\Risk\TruView\Bin\IFS.Risk.TruView.TruViewShared.TruViewUtils.dll
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\assembly\GAC_MSIL\System.ServiceProcess\2.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.796 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.796 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.827 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll
    08:53:24.827 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.827 [1] DEBUG - Debugger: Callback: LoadAssembly
    08:53:24.827 [1] DEBUG - Debugger: Process has queued callbacks
    08:53:24.827 [1] DEBUG - Debugger: Callback: LoadModule C:\Trunk\Risk\TruView\Bin\IFS.Risk.TruView.TruViewShared.PasswordMatrix.dll
    08:53:24.843 [1] ERROR - ThreadException caught
    --> Exception:
    System.Runtime.InteropServices.COMException (0x80131323): Cannot use JMC on this code (likely wrong JIT settings). (Exception from HRESULT: 0x80131323)
       at Debugger.Interop.CorDebug.ICorDebugModule2.SetJMCStatus(Int32 bIsJustMyCode, UInt32 cTokens, UInt32& pTokens)
       at Debugger.Module.ResetJustMyCodeStatus()
       at Debugger.Module..ctor(Process process, ICorDebugModule pModule)
       at Debugger.Process.AddModule(ICorDebugModule corModule)
       at Debugger.ManagedCallback.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
       at Debugger.ManagedCallbackSwitch.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
       at Debugger.ManagedCallbackProxy.<>c__DisplayClass1c.<LoadModule>b__1b()
       at Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
       at Debugger.Interop.MTA2STA.PerformCall()
       at Debugger.Interop.MTA2STA.PerformAllCalls()
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

    ---- Post-error application state information:
    Installed 3rd party AddIns:
    Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
    ProjectService.OpenSolution: [Solution: FileName=C:\Trunk\Risk\TruView\ScenarioManager\ScenarioManager.sln, HasProjects=True, ReadOnly=False]
    ProjectService.CurrentProject: [CSharpProject: ScenarioManagerSvr]

    Filed under:
  • 09-23-2009 1:53 AM In reply to

    • DavidSrbecky
    • Top 10 Contributor
    • Joined on 08-22-2005
    • Usti nad Labem, Czech Republic
    • Posts 477
    • Team Members

    Re: exception when attaching debugger

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.