Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Unhandled exception when using debugger/setting breakpoint; very simple project/solution

$
0
0

Launch Sharp Develop
File/New/Solution
VB/Windows Applications/Windows Application
Name = x
SUCCESS: Hit F5; debugger runs, mainform displays, close main form, debugger stops
put breakpoint on Program.vb, line 23; Me.MainForm
FAILURE: Hit F5

Windows 10; semi-locked-down corporate environment.

I tried running SharpDevelop "as administrator" and it did NOT help.

************************************************************************************************************

SharpDevelop Version : 4.4.2.9749-39bf891c
.NET Version         : 4.0.30319.42000
OS Version           : Microsoft Windows NT 6.2.9200.0
Current culture      : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 149096kb
GC Heap Memory       : 32803kb

Exception thrown:
System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass9.<AddBreakpoint>b__2()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass9.<AddBreakpoint>b__4(Object param0, BreakpointEventArgs param1)
   at Debugger.Breakpoint.OnSet(BreakpointEventArgs e)
   at Debugger.Breakpoint.SetBreakpoint(Module module)
   at Debugger.Module.SetBreakpoints()
   at Debugger.Module.OnSymbolsUpdated()
   at Debugger.Module.LoadSymbolsFromDisk(String[ searchPath)
   at Debugger.Module..ctor(AppDomain appDomain, 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.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
   at Debugger.MTA2STA.PerformCall()
   at Debugger.MTA2STA.PerformAllCalls()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   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:
19:51:26.303 [1] DEBUG - ActiveViewContentChanged to
19:51:26.303 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad
19:51:26.303 [1] DEBUG - ActiveContentChanged to
19:51:26.334 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\shawkins\Documents\SharpDevelop Projects\x\x\Program.vb]
19:51:26.334 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Program.vb]
19:51:26.334 [1] DEBUG - NavigationService
    ActiveViewContent: Program.vb
              Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
19:51:26.334 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\shawkins\Documents\SharpDevelop Projects\x\x\Program.vb]
19:51:26.334 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)
19:51:26.334 [1] DEBUG - ChooseLayoutCommand.Run()
19:51:26.334 [1] INFO - Saving layout file: C:\Users\shawkins\AppData\Roaming\ICSharpCode/SharpDevelop4\layouts\Debug.xml
19:51:26.334 [1] DEBUG - Activated feature 'Debugger'
19:51:26.334 [1] DEBUG - Debugger: Debuggee version: v4.0.30319
19:51:26.334 [1] DEBUG - Debugger: Debugger interface version: v4.0
19:51:26.334 [1] DEBUG - Debugger: ICorDebug initialized
19:51:26.334 [1] DEBUG - Debugger: Executing C:\Users\shawkins\Documents\SharpDevelop Projects\x\x\bin\Debug\x.exe
19:51:26.565 [1] DEBUG - Debugger: Callback: CreateProcess
19:51:26.566 [1] DEBUG - Debugger: Callback: CreateAppDomain
19:51:26.571 [1] DEBUG - Debugger: Callback: NameChange: pAppDomain
19:51:26.571 [1] DEBUG - Debugger: Callback: LoadAssembly
19:51:26.571 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
19:51:26.579 [1] DEBUG - Debugger: Callback: CreateThread 5968
19:51:26.579 [1] DEBUG - Debugger: Callback: LoadAssembly
19:51:26.580 [1] DEBUG - Debugger: Callback: LoadModule C:\Users\shawkins\Documents\SharpDevelop Projects\x\x\bin\Debug\x.exe
19:51:26.580 [1] DEBUG - Debugger: Loaded symbols from disk for x.exe
19:51:26.588 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass9.<AddBreakpoint>b__2()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass9.<AddBreakpoint>b__4(Object param0, BreakpointEventArgs param1)
   at Debugger.Breakpoint.OnSet(BreakpointEventArgs e)
   at Debugger.Breakpoint.SetBreakpoint(Module module)
   at Debugger.Module.SetBreakpoints()
   at Debugger.Module.OnSymbolsUpdated()
   at Debugger.Module.LoadSymbolsFromDisk(String[ searchPath)
   at Debugger.Module..ctor(AppDomain appDomain, 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.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
   at Debugger.MTA2STA.PerformCall()
   at Debugger.MTA2STA.PerformAllCalls()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   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: [AvalonEditViewContent C:\Users\shawkins\Documents\SharpDevelop Projects\x\x\Program.vb]
ProjectService.OpenSolution: [Solution: FileName=C:\Users\shawkins\Documents\SharpDevelop Projects\x\x.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: x]


Viewing all articles
Browse latest Browse all 1764

Trending Articles