Visual Studio Code Not Synchronized with Location for Debug Source

I checked the tag for the Visual Studio 2008 project in a new local folder. (The local folder is different from where I usually work on HEAD code.)

I did a clean and rebuild in the project that created the dll file. It has been successfully restored and is in the correct build area.

When I browse files in Solution Explorer , it shows the correct absolute path for all files in the new folder.

The problem is that when I set a breakpoint and try to debug the code, it never hits the breakpoint. When I right-click on a breakpoint and look at “Location,” it shows me the path to where the file was in the HEAD area when it was uploaded to SVN . I do not see where this old path comes from.

0
source share
3 answers

Here is a short checklist of things that might go wrong:

  • Check loaded modules ( Ctrl+ D+ Musually). See that your code modules load from where you expect them to load.

  • / ( MyAssembly, MyASsembly.dll, , . , .

  • . F10 ( ). , , , , .

+1

Debug → Windows → Modules, , Visual Studio .

, , . , Release, , .

+1

Visual Studio does not understand the end of a unix-style line. try using unix2dos to use in the wrong source files.

+1
source

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


All Articles