Feature Suggestion – debug visualizations

Forums 💬 NodeCanvas 🗨️ General Discussion Feature Suggestion – debug visualizations

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13859
    isaacjacob
    Participant

      Hi.

      Is there any possibility to see what happened last time inside [Filter]? Now, while it is on the cooldown, i have no idea what was executed over there, so i should put [Wait] after it with some significant delay in hope to handle that moment by pressing pause. It would be nice to see the last execution status of it childs in any way, like with half of default color opacity or somehow else.

      And another one suggestion, not so critical for me. When i put few conditions into one node and one of them failed – there is no visualization about which one exactly.

      Anyway it is a great tool. Nice job.
      Thanks.

      #13861
      Gavalakis
      Keymaster

        Hello,

        Thanks for the positive feedback as well as for your suggestions.

        At least right now, this is not possible because after each tree traversal, the tree and thus all the nodes are getting reset and as as such they display without any status color information. To support your suggestion, I will need to cache the previous status each node had just before each tree reset, which might be a good idea. In the meanwhile though, I think another solution would be to use Breakpoints in the child nodes of the Filter (or any other node you want for that matter). By default when a Breakpoint is reached, it will also pause the editor for you (this is an option in the “Prefs” drop-down of NC editor).

        Visualizing the failed conditions, is also a matter of caching the previous status the condition had, which I will take a look at implementing and see how it comes out. 🙂

        Please let me know if breakpoints would work for what you want.
        Thanks a lot for your suggestions!

        #13860
        isaacjacob
        Participant

          I decided to not wait and look to your sources. And i resolved my problem in a little bit messy, but working for me way. Hope it will not break anything.

          Thank you for readable code.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.