2

We are trying to add a new page to a running web application. such that a new dll and aspx file are being added. I've setup break points in the code file and Built the application transfering the dll to the remote machine bin file and the aspx page to a folder within the web application. Note this folder is not in the same folder hierarchy as it built in. I'm not sure if thats the problem. Basically we are appending new functionality to a web application.

I've completed the following

  1. I've copied the correct Remote Debug Monitor to the server and have it running.

  2. I'm able to attach to the process which in this case is w3wp.exe (I've Identified that it is the correct process for my application.

  3. I deployed the *.dll to the the bin folder with the *.pdb file along with it.

  4. I've deployed the *.aspx file to the location we want.

With the file open in visual studio with breakpoints setup, we attach to the process and debug. I get 'No symbols loaded' and the breakpoint go empty.

I'm missing something it seems. I've searched the net but have only found complete publish\ deployment scenario.

Any thoughts

1 Answer 1

3

Tools -> Options -> Symbols -> Add the path to your deployed web application dlls and pdbs.

You might also need to uncheck "Enable Just My Code" under general debugging.

Here's a more detailed answer that got it working for me in the past: Remote Debugging is not breaking on errors

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

1 Comment

Worked perfectly! Thanks a bunch. I've been scratching my head on this one for awhile.

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.