[BUG] Graph Breakpoint can cause change in graph operation

Forums 💬 NodeCanvas ⚙️ Support [BUG] Graph Breakpoint can cause change in graph operation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15983
    locutis
    Participant

      Hi there. I am still working through this one. I have a dynamic switch and a branch sets the variable. I expect the dynamic switch to interrupt the child and move to another branch.

      This only works when I put a breakpoint into the child with the setvariable statement. I am assuming that it ends up working due to the yield statement in the breakpoint handler.

      I am not sure which behaviour is the desired. I do think its not idea for the graph to operate differently depending on where you set breakpoints. Attached are some images that show how the flow changes.

      #15985
      Gavalakis
      Keymaster

        Hello there,

        Hmm. A dynamic Switch should definitely interrupt the child node and move to the other branch. That is the correct behaviour, but I can’t really reproduce a case where it does not. Can you please post a screenshot of a simple reproduction graph that would showcase this behaviour so that I can reproduce this on my end?

        Thank you!

        #15984
        locutis
        Participant

          I’ll try to put something together for you soon. Thanks!

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