Search Unity

Feature Request Go back to showing the offending line for debugging

Discussion in 'Editor & General Support' started by Sinister-Design, Sep 15, 2021.

  1. Sinister-Design

    Sinister-Design

    Joined:
    Sep 19, 2015
    Posts:
    66
    This is less a feature request and more a plea to return a feature that already existed in Unity before it was inexplicably removed a year or two back. It used to be the case that when Unity threw an ArgumentOutOfRangeException, the console would tell me the precise line of code that had caused the error. These days, by contrast, the console merely returns the final line of the method where the error occurred. For obvious reasons, this is dramatically less helpful for debugging.

    I would very much like for Unity to go back to providing me the precise line of code responsible when an exception of this sort is thrown--it would save me tremendous amounts of time during development.