Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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,130
    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 would be much faster to just double 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
     
    LeonhardP, Rallix, Prodigga and 3 others like this.
  2. benoitd_unity

    benoitd_unity

    Unity Technologies

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

    Thanks for the feedback!
     
    SugoiDev, Peter77, LeonhardP and 2 others like this.