Visual Studio 2022 generate PDB symbol file with complete debugging info - Stack Overflow

I used Visual Studio 2022 to build a Debug x64 executable from a VS solutionproject written in C.In S

I used Visual Studio 2022 to build a Debug x64 executable from a VS solution/project written in C.

In Solution properties I selected /ZI flag and /DEBUG flag to tell the compiler and the linker to generate a PDB symbol file. So far so good.

When I run the built executable as standalone, attach the VS debugger and break into it, I can't see the source code lines in order to set a breakpoint at.

Is there a way to generate a PDB symbol file with all the info needed to point the debugger to the relevant source code line ?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744370041a4570901.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信