Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging a remote process

I have a general question about debugging a .NET process that has been built locally but deployed to a remote machine.

If the process was built in DEBUG mode and was deployed WITH pdb's, is there any software or technologies available that allow you to hook in or attach to the process for debugging purposes without installing visual studio? Which would allow you to step through executing code?

like image 410
Grant Avatar asked Oct 27 '25 14:10

Grant


2 Answers

See How To Set Up Remote Debugging for starters

like image 177
stuartd Avatar answered Oct 29 '25 03:10

stuartd


Please keep in mind that remote debugging of managed code require two-way communication through RPC between debugger and debuggee. You need to grant mutual rights on both machines, open proper ports and make sure any firewall between will not block communication to either side

like image 33
grzegorz_p Avatar answered Oct 29 '25 02:10

grzegorz_p



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!