# Step-by-Step Not Working Accurately in Debug Mode

**URL:** <https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762>\
**Category:** Bugs\
**Created:** [September 2, 2022, 2:25pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762 "2022-09-02T14:25:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Notgrass](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/john_notgrass/32/46875_2.png) [@John\_Notgrass](https://forum.bubble.io/u/John_Notgrass)\
**Post date:** [September 2, 2022, 2:25pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762/1 "2022-09-02T14:25:28Z")

</div>

I’m working on a matching game where the user clicks on two images. If they match, the user gets a point.

I have a conditional workflow that sets Guess 1 after the first image is clicked and Guess 2 after the second image is clicked. It works in normal mode, but when I turn on debug mode an go step-by-step, later actions in the workflow are running before the debugger gets to them.

After two guesses, I need to trigger additional workflows. But since the debugger is not really running step-by-step, I can’t figure out where my problem is.

Is this a bug? What could be causing this?

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [September 2, 2022, 3:54pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762/2 "2022-09-02T15:54:03Z")

</div>

Not really a bug. WF doesn’t always run in the step order.  
[https://manual.bubble.io/help-guides/building-workflows/the-basics#execution-rules](https://manual.bubble.io/help-guides/building-workflows/the-basics#execution-rules)  
there’s a few options to make them run in a specific order like using custom event WF

---

<div class="post-metadata">

**Author:** ![samnichols](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/samnichols/32/105510_2.png) [@samnichols](https://forum.bubble.io/u/samnichols)\
**Post date:** [September 3, 2022, 7:44pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762/3 "2022-09-03T19:44:52Z")

</div>

Imo, the steps should run in order, but Bubble doesn’t necessarily do it that way. This has been brought up all over the forums, as well. I think it would be great to have a “Run events in order?” checkbox on workflows so we could choose which ones need to run one step at a time.

---

<div class="post-metadata">

**Author:** ![John\_Notgrass](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/john_notgrass/32/46875_2.png) [@John\_Notgrass](https://forum.bubble.io/u/John_Notgrass)\
**Post date:** [September 6, 2022, 3:38pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762/4 "2022-09-06T15:38:02Z")

</div>

Yes. I understand that the workflow steps don’t run in order. My issue is that the debugger running in step-by-step mode seems to be generating different results than when the app is running in normal mode.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 16, 2022, 2:26pm UTC](https://forum.bubble.io/t/step-by-step-not-working-accurately-in-debug-mode/222762/5 "2022-09-16T14:26:11Z")

</div>

Closed on September 16, 2022, 2:26pm UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
