Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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:
    522
    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,609
  4. DrummerB

    DrummerB

    Joined:
    Dec 19, 2013
    Posts:
    135
    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.