unable to step into a function of a different project (both in C++) under the same solution with VS2019

Cindy Wang 1 Reputation point
2021-12-06T21:56:28.657+00:00

Hi experts,

I am new with VS environment, and I am being asked to take over a product developed in VS.

There are multiple projects in C++ for the solution I am working with VS2019. The starting project TestConsole has dependencies on another project (saspiwpr) under the same solution. The problem I am having is unable to step into function in saspiwpr from TestConsole. I did googling and did the following:

  1. Make sure that the projects are being built for DEBUG x64
  2. Added the path for saspiwpr explicitly from solution’s property->common properties->debug source files
  3. Added the reference of saspiwpr under TestConsole, and set its property COPY LOCAL to be TRUE

Still not able to step into the source code, but get a prompt to step into assembly code instead.

Is there anything else I should do in order to solve this problem?

Thanks a lot for your help!

-Cindy

Developer technologies | Visual Studio | Debugging
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 49,551 Reputation points
    2021-12-06T22:58:49.59+00:00

    Make sure that the saspiwpr project is generating a PDB. Check the linker properties linker-property-pages


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.