Editor Console Improvements, double-click message functionality

I just read on your 2019.1 blog-post:

https://blogs.unity3d.com/2019/01/31/unity-2019-1-beta-is-now-available/

I have a related question. We discussed having the ability to exclude methods from the stacktrace in June 2015 on the Unity beta group:

@superpig had the idea to decorate a method with a [NotInterestingInCallstack] like attribute, such as:

[NotInterestingInCallstack]
static void MyCustomLog(string message)
{
    Debug.Log(message);
}

The idea is if I double-click a message in the Console window that was generated by “MyCustomLog”, Unity would not open “MyCustomLog”, but the file/location that calls it.

I would like to know if this is still something you consider to provide? Having the ability to click the file in the debug message is nice, but it would be much faster to just double-click the message itself to get to the caller code.

I know that there are workarounds for this, such as storing the “MyCustomLog” code in a DLL for example. But having an attribute (or whatever) for that would be way more convenient.

Related feedback item:
https://feedback.unity3d.com/suggestions/make-console-double-click-jump-to-the-file-slash-line-i-want-it-to

No this was not considered but I’m taking note of the suggestion, it would be very convenient.

Thanks for the feedback!

Thank you!

Any news regarding this?

Sadly I don’t have an ETA to share.

Hey there, would also be interested in this functionality for Unity and Visual Studio on Mac.

This sounds really helpful! I would use it for my validation system which inspects all GameObjects and logs an error if anything fails a test. Double-clicking the log statement in the console, however, opens the source code line, where Debug.Log is called, which is nested deeply into my system and not helpful. Instead, I would want a double-click to open the source code line where the error actually originated, not where it was logged. I believe the proposed attribute would work for this.

I’m also interested in this. I posted a similar request a while ago here , but I think Peter77’s suggestion is better.

I would probably call the attribute [HideInStackTrace] or [HideInConsole] to be more consistent with [HideInInspector].