Posted December 2, 20222 yr C# (.NET) how to change the call stack trace of a running method?? Without throwing exceptions! Is this even possible?
December 2, 20222 yr Author a non-working example here: https://stackoverflow.com/questions/25244325/can-i-change-current-stacktrace-in-c still unable to find solution at this moment.
December 2, 20222 yr To do that you'll need to find and modify call stack in memory, which I don't think you can do in c# without getting creative
December 4, 20222 yr its possible by c# by using pointer all we need to reach the native function pointer of the call
Create an account or sign in to comment