Search code examples
dllvisual-studio-debugging

Debugging DLL which is invoked from another DLL


Can you help me out providing me the solution for following problem .

I have a 1.DLL which we wrote for windows service framework ,from it we are invoking one more 2.DLL . My 1.DLL will be invoked by any applications which use the service framework.

Will there be a possibility to debug by 2.dll ?

Thank You


Solution

  • If you put a breakpoint on the entry into 2.dll, it will prompt for the location of the code and you can browse to this and go through the same as any normal project.

    Update. You added this is unmanaged code. I have not tried for unmanaged, but in theory it should be the same as long as you have the source code.