I also frequently use reflection for "who calls me" ... It works well in Python, and mostly well in .NET x32. However, I believe x64 CLR doesn't honor [MethodImpl(MethodImplOptions.NoInlining)], which breaks reliably reflecting who-calls-me.
For reference, here is the who-calls code I use for CLR and Python projects... https://github.com/jeske/SimpleScene/blob/master/SimpleScene/Util/WhoCalls.cs https://github.com/jeske/netcon/blob/master/nc_agent/who_calls.py On Fri, Jul 25, 2014 at 11:26 AM, Raoul Duke <[email protected]> wrote: > as a programmer > when i'm debugging > i want to easily+efficiently get the signature of who called me* > and sometimes even the full call stack > > (* and sometimes who called me who called me so i can have the common > logging library be able to spit out the caller of the user of the > logging.) > _______________________________________________ > bitc-dev mailing list > [email protected] > http://www.coyotos.org/mailman/listinfo/bitc-dev >
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
