Cannot Debug the DLL??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need help to debug the code in Dll I have myCom.dll and myCom.pdb files
but I canot debug myCom.dll.

Thanks
 
Are you getting some sort of error message? I'm assuming you are
loading the dll into a process and trying to debug the process, not
just the dll. They don't stand on thier own.
 
I am using C#.net I build MyCom.dll in Debug mod , so I get 2 file in Debug
folder, one is MyCom.dll and MyCom.pdb.
when I add references that dll in project and break point in code when I
want go in dll then I get one message " There is no source Code Available for
the current location"
and that give one option to open Disassembly.
I think .pdb file help to debuging?

that help you to understand my question
 
Yes - the PDB is a symbol file that helps the debugger find more
information about the executing code.

Make sure the PDB is copied into the main project directory, that is
/bin directory for asp.net, and that it is built in debug mode.
 
Yes I copy that file into bin directory but still I CANNOT debug the code I
am geting message box "there is no source Cide Availble for the current
location" so can you help me how I do debug.

Thanks
 

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

Back
Top