-- for DLL debugger you can use the "BDS.exe" as your "Host Application"
1) Enable all debug options on all projects (DLL file(s)). 2) And disable optimization. 3) Be sure to set the host application to the right EXE file. 4) Build DLL file(s). 5) You can now put breakpoints in both dll and exe. And run the DLL file from the IDE. It starts the EXE file and stops at the requested breakpoints.
It even works when DLL files are dynamically linked (if they are unloaded the blue dots disapear).
2) Then go to Run | Parameters | Host Application and enter the name of your exe.
Add some breakpoints in your DLL code and then click run. Your "exe" will be loaded and you can debug the DLL parts in the Delphi IDE.
If your "exe" is already running, click Run | Attach to process
try check "Include remote debug symbols" on the Linker page of project options!
try a breakpoint to hit using the "Run | Parameters" as well as "Run | Attach to process " methods.
The test DLL I had created had a single stdcall function and was dynamically loaded by a Visual C++ console application. ----------
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
https://www.microsystools.com/articles/delphi-dll-debugging-help/
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3