A SharePoint solution is installed on our dev server. We are working on the new changes and unfortunately we cannot deploy and test our changes on the provided dev server. I am trying to debug manually and understand the existing application execution by attaching it to w3wp process. So I made some changes in my solution and tried debugging manually. Unfortunately the point does not break on my new code changes, it just breaks on the lines that are part of the deployed solution. Will I not be able to test my changes while debugging manually, unless the changes are deployed ?
Ok, based on your answer to my question in the comments, the short answer to your question
Will I not be able to test my changes while debugging manually, unless the changes are deployed?
is: yes, that is correct, you will not be able to debug unless your changes are deployed.
The reason for that is this: when you write new code in VS, save those files and rebuild the project, the resulting
.dll file is still sitting in a folder in the VS project directory.
w3wp process has no knowledge of your VS project directory, and the
.dll that the
w3wp process is loading and running is coming from somewhere else on the server (typically the GAC).
.dll file (which includes your new code changes) only gets to the location where it can be loaded by the
w3wp process if you deploy the solution.