Bugzilla – Bug 318471
NativeLanguage lacks implementations for ILanguage's CanCreateInstance and CreateInstance.
Last modified: 2007-09-15 21:24:34 UTC
---- Reported by toshok@ximian.com 2005-07-06 17:30:20 MST ---- CreateInstance is the tough one - it's implemented in mono using Heap (which rather hackishly uses a preallocated buffer to allocate objects.) There's no such preallocated buffer in the native case, so we'll need to either allocate the objects (ewwww), or find a different way to handle the cases where we need this. The two cases that I can think of (setting variables to constants, and calling methods with constants as args) can both be handled in different ways. setting variables can be handled by just writing the new bit pattern. and calling methods can be done by pushing a fake stack frame in the debuggee and allocating space for the objects there. ---- Additional Comments From miguel@ximian.com 2005-09-05 13:52:41 MST ---- reassigning to new debugger owner. ---- Additional Comments From martin@ximian.com 2006-04-18 13:03:13 MST ---- Old. This bug blocked bug(s) 74823. Unknown operating system unknown. Setting to default OS "Other".