You would have to, which is why D allows code to be prefixed with `debug`, as in:
debug printf("I made it this far before crashing\n");
which turns off the purity checks for the dependent statement.