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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Utilities Coroutine Debugger

Discussion in 'Tools In Progress' started by AericGames, Oct 9, 2023.

  1. AericGames

    AericGames

    Joined:
    Aug 15, 2023
    Posts:
    5
    Coroutine Debugger
    Introducing the ultimate Coroutine Debugging Tool for Unity!
    • Powerful Control - Gives the ability to pause, resume, single-step and reset coroutines from the debugger window.
    • Deep Information - Filter and search coroutines, see the callstack of the point of execution, what it's waiting on (e.g. WaitForSeconds, another coroutine), and its current state. Click any source line to open it in your IDE.
    • Effortless Integration - The coroutine management library that underlies the utility is designed to emulate standard Unity coroutines as closely as possible, while layering additional functionality on top.
    • ⚡ Other Features Include - Break on done, callbacks, new yield instructions such as WaitForFrames, WaitForLateUpdate, etc.

    1.png


    This is a utility that I've been working on that I hope to put on the asset store. I'm trying to gauge the level of interest and also get feedback on the kinds of features that people might want in this kind of tool.

    Thanks!
     
    DragonCoder likes this.
  2. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,518
    Certainly interesting!
    One feature I'd suggest: Give the possibility to display all coroutines of a specific object or script in the hierarchy. Maybe in the right-click or context menu in the selector have something like "Inspect Coroutines" which would then open your window with a filter already set for that instance.
     
    AericGames likes this.
  3. AericGames

    AericGames

    Joined:
    Aug 15, 2023
    Posts:
    5
    Hi DragonCoder! I already have the ability to limit the search to the scene selection, but I really like the idea of adding options to the context menu so I'm going to look into that. Thanks!
     
    DragonCoder likes this.
  4. AericGames

    AericGames

    Joined:
    Aug 15, 2023
    Posts:
    5
    I implemented those suggested changes and resubmitted a new draft of the package. REALLY hoping that I didn't lose my place in the queue because it's already a painfully slow process. I put the documentation up online here: Coroutine Debugger: Main Page (aeric.games)