Hi All,
1.
My goal is to be notified (and execute some code using it's return value - the modified string)when a call to String.Replace is being made. I know that this is an extren method (also defined as MethodImplOptions.InternalCall), and I know that i cant place a breakpoint in a safe way using mdbg framework in a native code. Nevertheless, I need to achieve my goal, hence I need your help - can you help me think of a creative way in which i'll be able to do that?
2.
A possible solution (not an efficient one) is to place a breakpointat an IL instruction such as "call" and to continue from there, is there a way to place a breakpoint at an IL instruction?

Thanks In Advanced!!!

P.S
I'm based here on previous posts such as (in case something has changed since then):
http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/8b5734d2-81e2-4fa8-b154-80aed0288ebc/
(Debugging into CLR core libraries implemented as native code)
http://blogs.msdn.com/jmstall/archive/2005/03/15/395680.aspx
(Why you can’t debug mscorwks when interop-debugging)