Remote client computer for debugging

I have a problematic deployment of my application on some client computer.

I really need to see what happens to my application at runtime, and my logging is not enough.

The computer is on a separate network, I have no connection to it from my office.

Is there any tool that can record the execution of my application? At least the inputs of the outputs of the functions?

+6
source share
2 answers

Your obstacle is that the target computer is in a remote disconnected network from your own, which makes it useless to use the Visual Studio Remote Debugger tool (if you cannot open the firewall ports on the target machine or set up some kind of VPN).

Try a remote debugger, install the VPN client on your computer and it ( Hamachi is a good example), then the remote debugger should work ( docs on MSDN ).

I would start normal diagnostic measures

  • What is special about this machine compared to others that can interact with a normal function.
  • Can you replicate the target environment.
  • Is stack trace available, does it contain any useful values.
  • Can you deploy the version to a target that has additional logging wrapped around a broken function (log all the values โ€‹โ€‹before clicking on the code that might cause the crash).
  • Visit the site with the target environment and launch the remote debugger from your network.
  • Install Visual Studio (and all source code) on this target machine and debug from there (extreme view).
+1
source

I found mdbg most useful in these situations.

Just copy it to your flash drive.

0
source

Source: https://habr.com/ru/post/898821/


All Articles