How to debug a DLL in VS2003

  • Thread starter Thread starter devmentee
  • Start date Start date
D

devmentee

Hi,

I have built a DLL in C++ (unamanged) and written a client app, also in
C++, to test it.
I set my DLL project as "start up" project and have specified the EXE
etc...My client app (exe) starts up fine, however I am unable to step
into the DLL code...when I try to step in
I get "There is no source code available for the current location"
error.

Also, I see "There are no more endpoints available from the endpoint
mapper." in the output window. I checked the DLL has pdb file built
etc...

Can someone please help or suggest something...


Thanks

dev
 
I have built a DLL in C++ (unamanged) and written a client app, also in
C++, to test it.
I set my DLL project as "start up" project and have specified the EXE
etc...My client app (exe) starts up fine, however I am unable to step
into the DLL code...when I try to step in
I get "There is no source code available for the current location"
error.

Also, I see "There are no more endpoints available from the endpoint
mapper." in the output window. I checked the DLL has pdb file built
etc...

Can someone please help or suggest something...

Is your application unmanaged as well?

And assuming that the PDB file, the DLL and the source are where they were
when you built the application, is there any chance that you have multiple
versions of the DLL on your system?

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Debuging a dll - How? 3
Can't debug DLL 1
Cant debug a dll from exe 1
cannot debug into native c++ dll. 6
.NET and Native Dll Debugging 2
Debugging 1
Debuggng a DLL 1
Debug VC++ dll? 4

Back
Top