Error when adding an "IF" condition to the project

Why when I add an “IF condition” in the project, the application opens and closes quickly? Can anyone help me?

It would really help if you provided a screenshot your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

I think it’s the excessive amount of blocks. I have a Screen with 12,600 blocks.

If you have problems (?) in showing your relevant blocks (please not all blocks), alternatively you can use logcat to find out what’s going on…

Taifun

Hello, Taifun! Excuse me! How to use LogCat to find the error that is happening? I don’t know how to do this. Can you help me?

How to use logcat has been described in detail in that link Capturing Device Logs using adb logcat - Tutorials and Guides - MIT App Inventor Community
Please understand, that I will not repeat everything here again

Start logcat, elicit the issue, stop logcat and provide the logcat output here together with the package name of your app

Taifun

I have a project with 13 screens, of which there are several other simulated ones with layouts, in total there are 14790 blocks, if I add one more block it crashes.
Everything adds up, design, blocks, extensions… in short everything ends up being code and when the platform compiles it does so with errors and the apps fail, I suppose it has processing limits