In my code, I currently have an exception handling setting that logs exceptions in text files. However, when I debug the code, I would prefer not to handle the exceptions and let it stop, rather than reading the file, setting a breakpoint, etc. Is there an easy way to do this using build and release configurations (something like a preprocessor directive that I could use to comment on some kind of exception handling code)?
It turns out that there is a better solution than the original question asked, see the first answer.
source
share