nguyen
nguyen

Reputation: 171

How to step into a C++ DLL source file from a Delphi application while debugging

My Delphi module uses a C++ DLL function. While debugging in the Delphi IDE, I need to step into a C++ function in Visual C++. How can I do it?

Upvotes: 0

Views: 490

Answers (2)

Luca Rocchi
Luca Rocchi

Reputation: 6484

if it is a third party dll with no source and symbol you are out of luck it it is your own dll builded with VC you can set the delphi exe as the process that load the DLL

Upvotes: 0

Remy Lebeau
Remy Lebeau

Reputation: 597941

What you ask for is not possible. Only one debugger can be attached to the process at a time, so while Delphi is stepping through the Delphi module, Visual Studio cannot debug the DLL.

Your only hope is if you have C++Builder installed. Then you can let it debug both the Delphi module and the DLL from within a single IDE instance.

Upvotes: 1

Related Questions