Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Feedback Editor Console Clickable Link Improvement

Discussion in '2019.2 Beta' started by manutoo, Jul 19, 2019.

  1. manutoo

    manutoo

    Joined:
    Jul 13, 2010
    Posts:
    538
    Hello,

    it'd be nice if I could inject clickable source links in my own Debug.Log() messages.

    eg: I use try{} catch {} to catch most exceptions in my code, so the clickable links are never to where the bugs actually happen.
     
    twobob, Xarbrough and DrummerB like this.
  2. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,188
    I use wrapper classes for logging and also a few systems such as scene validation which logs errors when checking the scene. It’s nice that I can pass a context object which will be highlighted, when single-clicking the log statement in the console, but it would be even better if I could double click the log statement to jump to a specific line in source code.
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,639
  4. DrummerB

    DrummerB

    Joined:
    Dec 19, 2013
    Posts:
    139
    If you put your wrapper classes in a separate managed DLL, you can fix the double click behavior. I submitted a feature request about this a while ago here.
     
    Xarbrough likes this.