Break point not hit in Visual Studio Remote Debugging
c#, debugging, remote-debugging, visual-studio, visual-studio-2010
Solution
What does the error message on the breakpoints say (if you hover over the breakpoint) - that it's different from the source? --> You can try disabling (from Tools/Options/Debugging) - Enable source file to exactly match the original version
What does the Modules window say - do the PDB's appear as loaded? if not, have you tried loading them manually (from the Modules window, right click the PDB and load)? - Is there an error message if it fails?
--> you might be in a case where the source files in the local machine are different from the ones on the remote one. Try copying everything over and see if that works (PDBs would be in the same folder as the EXE)
Problem
Pls don't mark it as duplicate .. bcoz I have seen all the solutions but nothing is working for my case.. I have two machines devMachine and serverMachine in devMachine I am developing application with Visual Studio and Now I have a simple Console Application..my need is I need to run this Console Application in serverMachine and debug from devMachine via Remote Debugging. As told in Microsoft document, I have installed Remote Debugging tool in serverMachine and set the Authentication mode as Native (No Authentication) and run the Console Application in serverMachine. Now , I have attached the remote process in devMachine's Visual Studio. All are working fine But only problem is breakpoint is not hitting in Visual Studio Note: I have placed required .pdb file in serverMachine and set that .pdb file path in devMachine's Visual Studio (Tools->Option->Debugging->Symbols). Can anyone help me to resolve this issue?