Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice
  2. We've opened up a space to discuss, share feedback, and showcase everything related to the Unity Shader Graph! Come show us what you've made.
    Dismiss Notice

Feedback Editor Console Improvements, double-click message functionality

Discussion in '2019.1 Beta' started by Peter77, Feb 2, 2019.

  1. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,344
    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:
    https://groups.google.com/forum/#!topic/unity-beta-testing/q9kQKJKTcpo

    @superpig had the idea to decorate a method with a [NotInterestingInCallstack] like attribute, such as:
    Code (CSharp):
    1. [NotInterestingInCallstack]
    2. static void MyCustomLog(string message)
    3. {
    4.     Debug.Log(message);
    5. }
    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/sugges...lick-jump-to-the-file-slash-line-i-want-it-to
     
    Last edited: Mar 2, 2019
    Griz, mh114, Kirsche and 6 others like this.
  2. benoitd_unity

    benoitd_unity

    Unity Technologies

    Joined:
    Jan 2, 2018
    Posts:
    79
    No this was not considered but I'm taking note of the suggestion, it would be very convenient.

    Thanks for the feedback!
     
    Griz, Kirsche, SugoiDev and 4 others like this.
  3. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,344
    Thank you!
     
  4. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,344
    Any news regarding this?
     
  5. benoitd_unity

    benoitd_unity

    Unity Technologies

    Joined:
    Jan 2, 2018
    Posts:
    79
    Sadly I don't have an ETA to share.
     
    Peter77 likes this.