c# - Remote debug an external executable -
i've followed steps listed in https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx in order application on server run remotely. good, must debug through code remotely. in step 10 of instructions, specifies executable must built local computer, , copied remote computer.
- copy executable built visual studio computer newly-created folder on remote computer.
my program doesn't run executable built, starts external program. i've place .dll , .pdb files in bin directory of external program. while can start program, , see code runs fine, can't debug code. symbols don't loaded, .pdb in bin directory. feel should possible debug code though starts external program. there step i'm missing? or because not remote debug executable built, not possible remote debug .dlls under external program?
after you've built dll
file(s), copy them destination computer, , run app on remote computer.
after that, should able go debug -> attach process...
in visual studio , under transport
section change "remote (no authentication)" option. allow connect remote computer's process , debug application instance of visual studio.
Comments
Post a Comment