This article is a mirror article of machine translation, please click here to jump to the original article.

View: 5194|Reply: 1

[Source] VS 2022 sets up the project to generate a .pdb file

[Copy link]
Posted on 12/8/2022 9:44:24 PM | | | |
After pulling a project from the TFS repository and finding a breakpoint, starting the debugging run after starting the VS 2022 prompt"There are currently no breakpoints, and no symbols have been loaded for the documentIf you open the file manager and find that the project has not generated a .pdb file, resulting in the inability to load the symbol file, the breakpoint will not be hit, as shown in the figure below:



vs What and why .pdb files are generated
https://www.itsvse.com/thread-4435-1-1.html
solution

Steps: Right-click on the project -> Properties -> Generate -> Advanced -> Debug Info -> Completely, this is also the default configuration after creating a new project, as shown in the figure below:



After the settings are saved, regenerate the project, start the debugging run, and you can hit the breakpoint normally, as shown in the figure below:






Previous:What is URL Slug? What is useful for website SEO?
Next:Excessive memory buff/cache usage under Linux
Posted on 2/8/2023 11:25:31 AM |
Mark learned, I sometimes encounter breakpoints that don't execute, and it's good to regenerate the solution in general
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com