How to solve crashing screen?

I made some adjustments on a screen design (Not the code) which was working fine. But it’s crashing/ Disappearing when I run it. What’s the cause of this and how can I solve it?

It could be a dozen different things. Post a link to your project and mention which screen is having that issue.

2 Likes

Thanks for your respond, Here is the link. The problem is in the “Home” screen
https://x.thunkable.com/copy/0f06ddbbf65d880b4e026cb82aeb3d6c

You have a lot going on in the blocks for that screen, including a forever loop and multiple other loops:

image

You’re also relying on a lot of Get Value blocks and I know there had been a bug with that block and I’m not sure if it’s resolved yet.

I would recommend adding some debugging blocks inside of those functions. Here’s a method I use: Debugging in Thunkable X (Video). That way, you can see exactly where the code stops working.

2 Likes

Thank you, But it was working fine earlier. That’s what i don’t understand. I tried your method, but didn’t work.
1.I ran it without ‘open’ and ‘starts’ function also. Still crashes
2. I duplicated the screen without the blocks. And still crashes. Maybe it’s not the blocks. Could it be because of the design error? Please find “Home 1” screen in my project.

Hey, i solved it, it was an error of design. Thanks for your support

2 Likes

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