Debugging is to use the CPU interrupt mechanism to add the int3 command so thatProgramPause, record the current memory (variable value), submit the recorded data to the debugger, and then use the symbol file (for example, in windows. the PDB file records the variable address, function entry address, and program compilation information of the corresponding program.Source codeIng TO THE SOURCECodeAnd display various memory values during execution.
In vs, "remote debugging" provides the function of debugging programs on remote machines. In general, copy msvsmon.exe and other files in this directory to a remote machine, configure the debugging method, and add processes near vs on the Local Computer (it is not clear here, there is no remote machine for me to try) for debugging.
References:
Breakpoint basics for Visual Studio debugging
Vs.net remote debugging