[MonoDevelop] passing array as an argument

Jeff Stedfast jeff at xamarin.com
Fri Oct 5 16:40:03 UTC 2012


Hi Jiri,

It looks like you are hitting this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=6694

Jeff

On Fri, Oct 5, 2012 at 12:10 PM, Jiri Mares <maresjiri at yahoo.com> wrote:

> Hi,
>
> I was trying to debug simple code (attached below) in MonoDevelop. For
> some reason MonoDevelop is crashing when debugging with "Exception in
> callback: System.Reflection...." error message. When I paste the same code
> in to MS Visual Studio program seems to work as expected. Could you please
> advise what may be wrong?
>
> Many thanks.
> Best regards
>
> jiri
>
>
> namespace ConsoleApplication1
> {
>     class Program
>     {
>         static void Main(string[] args)
>         {
>             double[,] lsmtx = null;
>             lsmtx = getLSM();
>         }
>
>         static double[,] getLSM()
>         {
>             double[,] lsm = new double[,] { { 1, 2, 3 }, { 1, 2, 3 } };
>             return lsm;
>         }
>
>
>     }
> }
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20121005/a44b8894/attachment.html>


More information about the Monodevelop-list mailing list