Reputation: 1003
I am looking to debug a project that references DLLs remotely. I would like to be able to step into the DLLs with the debugger. By following this tutorial I was able to make this work on my local machine. However, when I use Visual Studio 2017 Professional Edition to attach to a process (i.e the same application as an executable file) I am no longer able to step into the DLLs that I was able to on my local machine. How can I link the DLLs or somehow get this feature to work? Thank you!
Upvotes: 0
Views: 1046
Reputation: 1003
Credit to u/FeRaaC. The issue was that when attaching to process I was only attaching to native code not native and managed versions. The right debugging version had to be selected and as the symbols and DLLs were already loaded correctly that was the last step for it to complete. Thank you!
Upvotes: 0
Reputation: 2071
You need to have access to the pdb file which contains the debug info.
Upvotes: 1