strange bug in debug mode..

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

strange bug in debug mode..

pierre
Hi,

I have embedded mono.

One of my function is declared in cs as:

   [MethodImplAttribute(MethodImplOptions.InternalCall)]
   static extern private float mono_jsonVal_asNumber(IntPtr jsonVal);

and in the embedding program, I have

mono_add_internal_call("jsonVal::mono_jsonVal_asNumber(intptr)",
mono_jsonVal_asNumber);

Every thing is running fine.

but if in the softDebugger, I do a CMD_SET_EVENT_REQUEST with command
CMD_EVENT_REQUEST_SET on event EVENT_KIND_METHOD_EXIT, then instead of
having the right returned number, in mono, I always get 0.

Running the same without subscribing to method exist work fine (or
without SDB).


Regards,

Pierre

_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list