am f7ca6040: Fix infinite loop in init when debugging is turned off

* commit 'f7ca6040616f672a6f0039d55e39c610b7c1cf91':
  Fix infinite loop in init when debugging is turned off