I have written a debug wrapper … the problem is when you double click in the console in Unity it takes you to my debug wrapper. I want it to take you to the object that logged the line of debug.
I can find the stack trace and frame and the file and even the line number.
It seem’s that unity takes some kind of “context” object passed into it during the .Log method.
I have looked into a few techniques but so far I have realized that I cannot manipulate the stack to trick Unity. Nor can I simple pass the stack trace or frame to the unityEngine.Debug.Log as the context object.
Please help thankyou