# \[Solved\] How to trace execution in Thunkable

**URL:** <https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483>\
**Category:** Questions about Thunkable X\
**Created:** [December 2, 2022, 4:57am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483 "2022-12-02T04:57:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 2, 2022, 4:57am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/1 "2022-12-02T04:57:14Z")

</div>

In MIT inventor app I used the following block

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa39770605ad5f5026c37795f5486607f0cfa365.png)  
and I inserted ShowAlert to tell me where I was in the execution process. This is same as putting printf() statements in C++. Could some kind soul show me how to do it Thunkbale. I experimented with Alerts but they do not work like ShowAlert, I want the error message flashing independent of the blocks on the Screen. Just as in MIT inventory app.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 2, 2022, 5:14am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/2 "2022-12-02T05:14:44Z")

</div>

There’s no built-in debugging feature in Thunkable X.

You might try my method:

> [@Debugging in Thunkable X (Video)](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471):
>
> I thought I’d share a process I use for debugging my projects. It involves creating a function that can be used over and over throughout the code blocks in order to help determine where things are going wrong, whether or not certain blocks are ever triggering, and what the values of several variables are. Here’s a screenshot of what I’ve set up: The real power comes from being able to quickly change the delay (and even set it to 0 seconds) or just remo…

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 2, 2022, 5:17am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/3 "2022-12-02T05:17:54Z")

</div>

Cool thanks a lot. Very neat idea!! Will try it out. Thanks again for the prompt answer

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 2, 2022, 5:35am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/4 "2022-12-02T05:35:21Z")

</div>

Mine is a free version of Thunkable not Thunkable X.

 ![Screen Shot 2020-09-25 at 12.39.27 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/d/bd8c8908238052be9840249deb5a9c9a7bc46e35.png)  
Hence I dont have the option of “with:message” as a choice ☹ for function creation. Is there a way out please?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [December 2, 2022, 6:52am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/5 "2022-12-02T06:52:45Z")

</div>

You do.

Click the blue gear icon and drag a block that appears in the pop-up to add variables to a function.

Good luck

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 2, 2022, 7:00am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/6 "2022-12-02T07:00:18Z")

</div>

Thunkable X is the current version of Thunkable that _everyone_ uses regardless of subscription.

Please watch the video in the link I posted. It will show you how to set up the blocks for debugging.

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 3, 2022, 12:13am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/7 "2022-12-03T00:13:09Z")

</div>

Sorry to bug you so much however much I Googled and played with Thunkable I could not get the “from” I have it all as “set”. What is the magic click? Mine looks like this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/d/bd8dcdfb64d3b6ce7e08e8808284b326a7b4b8b6.png)  
and yours look like this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/e/2e88d4a3ce6b6d8321b9130000e6946aa72d141b.jpeg)  
Thanks

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 3, 2022, 12:34am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/8 "2022-12-03T00:34:59Z")

</div>

The interface used to have blocks that said `from label set Text` but these have been replaced with `set label's Text`. Similarly, the `from label get Text` block has been replaced with `label's Text`.

Another way of saying that is that the second block in each screenshot is equivalent and the third block in each screenshot is equivalent.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [March 3, 2023, 12:35am UTC](https://community.thunkable.com/t/solved-how-to-trace-execution-in-thunkable/2160483/9 "2023-03-03T00:35:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
