Re-fixed debugging exceptions (also when spawning).