Hi @akgt,
WPCode has built in error support with error logging and it also catches errors at runtime and displays them to you in the admin.
WPCode also includes automatic snippet deactivation if a snippet throws an error in the admin that could potentially prevent you from accessing the admin in order to allow you to always access your admin area.
What may be happening in your case is that you are running into an error that PHP is able to catch before it happens and in that case in certain scenarios and PHP versions you might not directly see the error.
We do an extra check when the snippet is activated as opposed to when you save it without activating it.
You can learn more about how WPCode handles PHP errors in these articles:
https://wpcode.com/docs/php-error-handling-safe-mode/
https://wpcode.com/docs/how-to-debug-php-errors-in-wpcode/