I encountered an AMPscript syntax error and the system implied me something didn't relate to the error. I wonder if there was another way to debug in MC.
In the 2nd AMPscript block, there was a syntax error and in somehow the system didn't show me the error but the announcement like the first picture.
P/s: I used VScode for coding AMPscript (AMPscript v1.4.3 extension for syntax highlighting) and it didn't show up the syntax error too. So I had to manually review the code and fixed it.