2

I have stumbled on stupid situation with ASP.NET web application remote debug. I'm trying to describe the situation.

I have an ASP.NET application deployed on remote machine. To debug it, I've run a remote debugging monitor, so I'm able to attach my debugger to the remote process.

All assemblies are compiled in DEBUG mode without any Code Optimization and Debug Info is Full.

All *.pdb files are located with their *.dll in the same folder and all these files are up-to-date.

But when I'm trying to attach my debugger to the remote process, the following message appear: The following module was built either with optimizations enabled or without debug information.

Does anyone have ideas how can I solve aforementioned situation?

1 Answer 1

1

Did you set the debug=false attribute in the compilation element in the web.config? I regularly get this error when using the remote debugger, but doing a build first usually makes it work.

Simon

Sign up to request clarification or add additional context in comments.

1 Comment

Yes, I set it to the right option and unfortunately it doesn't help me as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.