Visual Studio 2008 Remote Debugger - Doesn't Reach Breakpoints

I installed the remote debugger VS 2008 Service Pack 1 (SP1) on the machine running the program I want to debug. I run Remote Debugger without authorization / allow anyone to connect to the specified machine. I am running VS 2008 on my development machine, and the project for this application is open. I copied the .dll that I contributed to the source code and rebuilt locally in the executable directory of the target program remotely, including the .pdb file. I connected to the remote application process, although VS is also a remote debugger.

The breakpoint introduced in my project says that it will never be reached because the module is not loaded.

An exception on the remote computer, even when I choose to retry, the dose does not cause any effect on my local VS instance.

I want to hit the breakpoint I locally when the remote application reaches it. How to do it?

I do not understand how Visual Studio remote debugging works?

+4
source share
2 answers

Is the breakpoint a normal red circle or has a cautious side in it?

If this is a red circle, then the likely problem is "Only my code," and VS thinks that this is not your code. Go to the debugger β†’ Tools β†’ Options and turn off β€œOnly my code”. This should fix the problem.

If he has a warning sign, then hover over the breakpoint and see what the error says, and please send it back as a comment / change to your answer.

EDIT OP hollow circle with "No characters" prompt

Open the modules window (debugger β†’ windows β†’ Modules). Then scroll down to the DLL containing your code. Right-click on the window and select "Download Symbols". This will probably open the file open dialog. Go to your characters and click OK.

+8
source

Have you installed service pack 1?

http://support.microsoft.com/kb/957912

0
source

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


All Articles