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

Congrats on SD 5.0 Beta 3 + possible bug + definite crash. :)

$
0
0

Hello,

I've been using SD for about 2 years on and off for numerous little projects and examples. There used to be certain things that I did in the ide that felt "more difficult" to do then the VS counterpart. The new ide has a very different, easier feel. I noticed it right away. Your pop up ares new and very responsive. I don't know what else you've changed, but I'm very pelased. Thank you. :)

Okay, my real issue is something I'm not sure if it's my code or the beta IDE but...

I'm writing a little app with supersocket and everytime I try to run the following line:

Console.WriteLine("connection established from (0}",session.RemoteEndPoint.Address); //also tried with ToString()

The debugger dives into the weeds and gives me this:

"Input string was not in a correct format." on line 150 of System.Runtime.Remoting.Messaging

 class StackBuilderSink : IMessageSink

I was just going to get you the stack trace  adn I copied a console.writeline(..") into the console and it crashed too:

SharpDevelop Version : 5.0.0.4218-Beta 3-193975c4
.NET Version         : 4.0.30319.34014
OS Version           : Microsoft Windows NT 6.3.9600.0
Current culture      : English (Canada) (en-CA)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 350500kb
GC Heap Memory       : 136835kb

Unhandled WPF exception
Exception thrown:
Debugger.DebuggerException: Evaluation did not return any value.
   at Debugger.Eval.get_Result()
   at Debugger.Eval.WaitForResult()
   at Debugger.Eval.InvokeMethod(Thread evalThread, IMethod method, Value thisValue, Value[ args)
   at Debugger.Value.InvokeMethod(Thread evalThread, Value objectInstance, IMethod methodInfo, Value[ arguments)
   at Debugger.AddIn.ExpressionEvaluationVisitor.InvokeMethod(Value thisValue, IMethod method, Value[ arguments)
   at Debugger.AddIn.ExpressionEvaluationVisitor.Visit(InvocationResolveResult result)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at CallSite.Target(Closure , CallSite , ExpressionEvaluationVisitor , Object )
   at Debugger.AddIn.ExpressionEvaluationVisitor.Convert(ResolveResult result)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Evaluate(String code, Boolean allowMethodInvoke, Boolean allowSetValue)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.Evaluate(String code)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.AcceptCommand(String command)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.HandleInput(Key key)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.<.ctor>b__2(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
23:49:43.277 [1] DEBUG - Resolved (Line 19, Col 9) to [TypeResolveResult System.Console]
23:49:43.283 [1] DEBUG - Resolved (Line 19, Col 10) to [TypeResolveResult System.Console]
23:49:43.290 [1] DEBUG - Resolved (Line 19, Col 12) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.298 [1] DEBUG - Resolved (Line 19, Col 13) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.307 [1] DEBUG - Resolved (Line 19, Col 14) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.314 [1] DEBUG - Resolved (Line 19, Col 16) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.323 [1] DEBUG - Resolved (Line 19, Col 18) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.331 [1] DEBUG - Resolved (Line 19, Col 20) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:43.338 [1] DEBUG - Resolved (Line 19, Col 21) to
23:49:43.347 [1] DEBUG - Resolved (Line 19, Col 23) to [ConstantResolveResult System.String = Hello World!]
23:49:43.353 [1] DEBUG - Resolved (Line 19, Col 24) to [ConstantResolveResult System.String = Hello World!]
23:49:43.361 [1] DEBUG - Resolved (Line 19, Col 26) to [ConstantResolveResult System.String = Hello World!]
23:49:43.369 [1] DEBUG - Resolved (Line 19, Col 27) to [ConstantResolveResult System.String = Hello World!]
23:49:43.377 [1] DEBUG - Resolved (Line 19, Col 28) to [ConstantResolveResult System.String = Hello World!]
23:49:43.384 [1] DEBUG - Resolved (Line 19, Col 29) to [ConstantResolveResult System.String = Hello World!]
23:49:43.409 [1] DEBUG - Resolved (Line 20, Col 4) to
23:49:43.501 [1] DEBUG - Resolved (Line 21, Col 38) to
23:49:43.509 [1] DEBUG - Resolved (Line 21, Col 39) to
23:49:43.525 [1] DEBUG - Resolved (Line 21, Col 40) to
23:49:43.565 [1] DEBUG - Resolved (Line 21, Col 41) to
23:49:43.798 [1] DEBUG - Resolved (Line 20, Col 4) to
23:49:43.961 [1] DEBUG - Resolved (Line 19, Col 38) to
23:49:45.919 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad
23:49:47.777 [1] DEBUG - Resolved (Line 17, Col 4) to [CSharpInvocationResolveResult [Method System.Console.WriteLine(value:System.String):System.Void]]
23:49:47.856 [1] ERROR - Unhandled WPF exception
--> Exception:
Debugger.DebuggerException: Evaluation did not return any value.
   at Debugger.Eval.get_Result()
   at Debugger.Eval.WaitForResult()
   at Debugger.Eval.InvokeMethod(Thread evalThread, IMethod method, Value thisValue, Value[ args)
   at Debugger.Value.InvokeMethod(Thread evalThread, Value objectInstance, IMethod methodInfo, Value[ arguments)
   at Debugger.AddIn.ExpressionEvaluationVisitor.InvokeMethod(Value thisValue, IMethod method, Value[ arguments)
   at Debugger.AddIn.ExpressionEvaluationVisitor.Visit(InvocationResolveResult result)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at CallSite.Target(Closure , CallSite , ExpressionEvaluationVisitor , Object )
   at Debugger.AddIn.ExpressionEvaluationVisitor.Convert(ResolveResult result)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Evaluate(String code, Boolean allowMethodInvoke, Boolean allowSetValue)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.Evaluate(String code)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.AcceptCommand(String command)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.HandleInput(Key key)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.<.ctor>b__2(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution:with 1 projects]
ProjectService.CurrentProject: [CSharpProject: ConsoleSocket]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad
)

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

 

Okay, thanks.

Dinsdale


Viewing all articles
Browse latest Browse all 1764

Trending Articles