You are not logged in.

#1 2009-07-16 22:08:48

benob
Member
Registered: 2008-11-11
Posts: 187

stacktraces in boo/mono

I am having trouble debugging a boo script of mine because the interpreter does not seem to display file/line numbers of the errors. Any idea how to do that?

System.InvalidCastException: Cannot cast from source type to destination type.
  at AdaboostModule.rangeClassifier (System.Object examples, System.Object column) [0x00000] 
  at AdaboostModule.weak_classifier (System.Object examples, Boo.Lang.List names) [0x00000] 
  at AdaboostModule.learn (System.Object examples, System.Object test, System.Object names, System.Object iterations) [0x00000] 
  at AdaboostModule.Main (System.String[] argv) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]

PS: Boo is an interesting skin of dotnet that looks and feels like python, but is static and speedier (http://boo.codehaus.org/).

Offline

Board footer

Powered by FluxBB