Главная страница | назад

Article #16132: Can I debug a DLL in C++Builder?

 Question and Answer Database

FAQ1132C.txt   Can I debug a DLL in C++Builder?
Category   :Debugging
Platform    :All
Product    :C++Builder  1.x


Why can't I debug my DLL in the C++Builder IDE?


The C++Builder IDE debugger fully supports the debugging of DLLs.
As long as the DLL has debug info and the source can be found, 
you should be able to debug your DLLs. Make sure that the path 
where the DLL source is located is listed in Options|Environment|
Preferences|Path For Source.

If you use TLINK32.EXE, debug into will be stored inside the DLL.
If you are using ILINK32.EXE however, debug info will be put in
a .TDS file, separate from the DLL. When debugging your DLL built
with ILINK32.EXE then, be sure the .TDS file is in the same 
directory as the DLL. If it it not, the debugger will not be 
able to step into the DLL's source code.

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99