c# - The breakpoint will not currently be hit - Remote Debugging -


i having problem debugging dll (c#). dll running on server , i'd debug remote debugger tool visual studio 2010.

i can attach process, somehow following problem @ breakpoint: "the breakpoint not hit. no symbols have been loaded document."

edit: .pdb on server too.

how getting .pdb , .dll files on remote server? need match on local machine. @ size of files , make sure match between remote server , local machine. if being built on different machines or different build configs not match. can copy/paste bin folder local machine remote server make sure files match exactly. (back server's bin first)

are attached right process? if you're not sure, try attaching few different processes. if breakpoints work, 1 of new processes correct one.

try adding remote server's bin folder symbol file location. can done in options > tools > debugging > symbols. tell visual studio check folder symbol files.

i wrote this blog post after faced same issue, may have bit more information help.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -