|
I'd like to create a class that wraps Debug.Log so I can enhance logging. To start, I created something very simple: The problem is, when the log message appears in the console, double clicking it will bring you to this classes Anyone found a way around this? That is, a way to wrap Debug.Log such that when clicked in the console you're taken to the source line that called the wrapper, and not to the wrapper itself.
(comments are locked)
|
This is the closest i've come to doing that exact thing. It when double clicking, it still takes you to the debug proxy but when you select them in the editor, it will flash the object that signaled the log statement.
(comments are locked)
|
|
I think you should be able to use this: http://msdn.microsoft.com/en-us/library/system.diagnostics.stacktrace.aspx Close. That does get me the file and line number. Still can't double click it in the console window and be taken directly to the line though.
Oct 14 '11 at 05:40 AM
mhardy
(comments are locked)
|

I've got the same issue - Anyone ?
Same here. Anything?