We have a website project. We register unused exceptions with an application-level exception handler.
When we set debug = true in the web.config file, the exception log shows the line numbers of the violation in the stack trace.
But when we set debug = false, in web.config the log does not display line numbers.
We are currently unable to convert a website project into a webapplication project type. Its legacy application and almost all of the code are on aspx pages. We also need to leave the project in "updated" mode. Those. we cannot precompile. We generate pdb files.
Is there anyway to say such website designs for creating pdb files and show line numbers in the stack trace?
source
share