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条)