I am trying to debug this bug and I need some help. I have built IronPython 2.6.1 - Silverlight debug binaries. I have pointed VS 2010 symbols folder to the folder with these binaries. I run the Silverlight app in the debug mode (debug=true in index.html), attach VS 2010 debugger, select Thrown for Common Language Runtime Exceptions and Managed Debugging Assistants in Debug - Exceptions dialog. All symbols are loaded, so I click on the checkbox button on the page. The following exception occurs: System.Security.VerificationException occurred Message=Operation could destabilize the runtime. StackTrace: at Mountains.filtered(Nullable`1 value) InnerException: No source available.This is the Call stack: > Snippets.scripting!Mountains.filtered.set(bool? value) + 0x23 bytes [Native to Managed Transition] [Managed to Native Transition] System.Windows.dll!System.Windows.CLRPropertyListener.Value.set(object value) + 0x23 bytes System.Windows.dll!System.Windows.PropertyAccessPathStep.Value.set(object value) + 0x10 bytes System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValue() + 0x3b2 bytes System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValueIfNecessary() + 0x27 bytes System.Windows.dll!System.Windows.Data.BindingExpression.TargetPropertyChanged(System.Windows.DependencyObject sender, System.Windows.DependencyProperty dp) + 0x2b bytes System.Windows.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyProperty dp) + 0x17 bytes System.Windows.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyProperty dp) + 0x51 bytes System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x5c bytes System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x1da bytes System.Windows.dll!System.Windows.Controls.Primitives.ToggleButton.OnToggle() + 0x8d bytes System.Windows.dll!System.Windows.Controls.Primitives.ToggleButton.OnClick() + 0xf bytes System.Windows.dll!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e) + 0x8e bytes System.Windows.dll!System.Windows.Controls.Control.OnMouseLeftButtonUp(System.Windows.Controls.Control ctrl, System.EventArgs e) + 0x31 bytes System.Windows.dll!MS.Internal.JoltHelper.FireEvent(System.IntPtr unmanagedObj, System.IntPtr unmanagedObjArgs, int argsTypeIndex, string eventName) + 0x234 bytes [Appdomain Transition] I click Step Into and another exception occurs: System.Reflection.TargetInvocationException occurred Message=Exception has been thrown by the target of an invocation. StackTrace: at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) InnerException: System.TypeInitializationException Message=The type initializer for 'Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.DebugeeHost' threw an exception. TypeName=Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.DebugeeHost InnerException: System.TypeLoadException Message=Could not load type 'System.MarshalByRefObject' from assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. StackTrace: at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.DebugeeHost..cctor() InnerException: Stepping further shows the System.Windows.Data error I posted below. Any ideas/hints? Thank you. -- -- Lukáš On 2.9.2010 20:39, Lukas Cenovsky wrote: Following my binding experiments in WPF, I tried to convert the sample into Silverlight and I hit another binding errors there. |
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com