Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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:
    379
    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,176
    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,326
  4. DrummerB

    DrummerB

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