1
votes

I have EXE and 2 DLL used by this EXE. All binary were compiled by Delphi XE2.

How to debug 2 DLL at one time while running EXE?

The second IDE can't attach to the process what is under debugging by the first IDE.

2

2 Answers

4
votes

In fact you don't need to do anything special for this to work. You don't need to run multiple IDEs and you don't need to attach to processes. Start debugging your executable and simply step into the code in the DLLs. The debugger takes care of it all for you.

1
votes

I have solved debugger issue by the following steps:

  1. Open any source file of each of two DLLs.
  2. Add any breakpoint to each of two DLLs (maybe optional step).
  3. Run host application on one of two DLLs.