简体   繁体   中英

How to debug 2 dlls on Delphi XE2?

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM