The minimum required to use step-by-step debugging on a machine without development

I have the source code for a C # project (which was not written by me) that I run on one of our servers.

There is a certain part of this program (menu option) that occasionally fails, and I cannot understand why I am just looking at the source. (Part of a failed program requires various functions that are not on my development machine, so I cannot test it on my machine).

I would like to debug this program and, in particular, execute code line by line. Since the server is located outside our firewall, the remote debugging feature will not work.

Is there an alternative other than installing Visual Studio on the server, i.e. are there runtime debuggers that will display the C # source code and allow you to set breakpoints, etc.

The project was written in VS 2008 and is aimed at Framework 2.0.

+3
source share
2 answers

You can use DbgClr for framework 2.0 application. This is a standalone graphical debugger that comes with an SDK. You will need to make sure that the PDB files corresponding to the running application build are accessible to the debugger.

If you have the ability to punch a hole in the firewall, you can use remote debugging , which is probably the easiest way.

, , ; , , .

+1

- WinDbg SOS. , .NET-. . WinDbg, .

+1

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


All Articles