Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1248

Debugger step over resets changed variable value and continues along original path

    XMLWordPrintable

Details

    • Hide

      See attached blueprint.xml routing context file and message#.xml files.

      1. Select Debug As>Local Camel Context (without tests)
      2. Stepped message1.xml through the entire route.
      3. Stepped message2.xml to choice1 (first breakpoint).
      4. In Variables View, expanded Messages>Messsage Header to reveal Message Body.
      5. Selected Message Body and opened context menu.
      6. Scrolled down to quantity element and changed the value from 3 to 2.
      7. Clicked OK.
      8. Clicked the Step Over button.
      The debugger stepped to breakpoint on "setHead1" on the original path.
      9. In Variables View, checked the quantity element in the message body. It was reset to its original value of 3.

      After terminating the debug session and cleaning up the project in Project Explorer, I reran the debugger. I followed my previous steps up to step 8. At step 8, I clicked the Resume button instead of the Step Over button, and the debugger/message2 followed the second path (otherwise/else2) as expected.

      Continuing on with the route, when I attempted to change the value of quantity for message4, the debugger became unstable and terminated the session.

      Show
      See attached blueprint.xml routing context file and message#.xml files. 1. Select Debug As>Local Camel Context (without tests) 2. Stepped message1.xml through the entire route. 3. Stepped message2.xml to choice1 (first breakpoint). 4. In Variables View, expanded Messages>Messsage Header to reveal Message Body. 5. Selected Message Body and opened context menu. 6. Scrolled down to quantity element and changed the value from 3 to 2. 7. Clicked OK. 8. Clicked the Step Over button. The debugger stepped to breakpoint on "setHead1" on the original path. 9. In Variables View, checked the quantity element in the message body. It was reset to its original value of 3. After terminating the debug session and cleaning up the project in Project Explorer, I reran the debugger. I followed my previous steps up to step 8. At step 8, I clicked the Resume button instead of the Step Over button, and the debugger/message2 followed the second path (otherwise/else2) as expected. Continuing on with the route, when I attempted to change the value of quantity for message4, the debugger became unstable and terminated the session.

    Description

      In Variables View, changed the value of a variable that determines which of two paths in the route the message takes and clicked the step over button. The variable was reset to its original value and the message took the original path accordingly.

      Attachments

        1. blueprint.xml
          3 kB
        2. message1.xml
          0.3 kB
        3. message2.xml
          0.3 kB
        4. message3.xml
          0.3 kB
        5. message4.xml
          0.3 kB
        6. message5.xml
          0.3 kB
        7. message6.xml
          0.3 kB

        Activity

          People

            lheinema@redhat.com Lars Heinemann
            jmurphey_jira Jane Murphey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: