delphidebuggingdlldelphi-7c++builder-5

Is it possible to debug a C++builder dll from Delphi if I have the dll sourcecode?


I have an application written in Delphi 7 which uses a c++ dll written in BCB 5.
I want to debug this dll from the Delphi IDE is this possible?

If it's possible which are the steps to debug?

As additional information I have the full source code of the dll.


Solution

  • It has been a while since I have dealt with C++ / Delphi together. But if I remember correctly, you can use the BCB IDE to run the Delphi application (compiled already) that uses your DLL. Basically, in your project settings in BCB, you can set a program to run when you click the "run" button, and I believe that you will be able to set breakpoints and stuff that will be caught when functions of your DLL are being called by that application. Still, this implies that you have BCB.