A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
Larry,
In my experience Visual Studio stores breakpoints for C++ projects in the hidden .suo file for the solution.
For example, following shows a VS2022 solution containing two C++ projects each of which has a beakpoint set.
Then I closed the solution, and exited VS. I deleted the FileContentIndex folder created by VS under the hidden <SolutionDir>.vs folder and everything except for the .suo file under the <SolutionDir>.vs\V17 folder.
Then I moved the .suo file to a different file system location from which it could be restored.
I started VS and opened the solution. Following is what was displayed -
Note that the breakpoints are gone and there are no opened source files.
I closed the solution, exited VS and cleaned the the solution's folders as above. Except this time I deleted the newly created .suo file and restored the initial file from where it had been saved.
Start VS and open the solution --
Breakpoints have been restored as well as the open files.