Remote debugging support.
dor666 opened this issue · 2 comments
dor666 commented
Describe the bug
dumpmem not working in remote debugging.
To Reproduce
Steps to reproduce the behavior:
- Connect two computers in network.
- In Host computer, in Visual Studio select Debugging and set "Remote Windows Debugger".
- Connection = Remote with no authentication
- Remote Server Name = ip or hostname of target machine.
- Fill Remote Command.
- On target, install Visual studio remote debugging tools and start it. Change to "No authentication" in options.
- Start debugging
- Try to dump memory
Result:
Couldn`t dump memory to file!
Error code:-3 - NTDBG_ACCESS_DENIED.
Reason:
By looking at the source, I think that VSDebugPro is trying to open local process and read its memory, not the remote one.
ovidiuvio commented
Right now this is not supported. Indeed the extension will try to open local process memory.
In theory, if the remote debugger has the capability to read / write process memory, this should be possible to achieve through debugger API.
Adding this on the TODO list.
mwerle commented
+1 to this feature request. Didn't realise this was a limitation when I found the plugin so unfortunately at present it's useless to me. Still, great concept and looking forward to remote debugging support.