How to do remote debugging of DLL in delphi 7 from scratch

♀尐吖头ヾ 提交于 2019-12-10 09:58:59

问题


can anyone please help me out, to how to do remote debugging of a DLL (Just a dll) which is independent of the exe. The dll is a service which will be running in the server machine and the DLL source code is at the client machine. Now when this service is running at the server machine i want to debug the delphi code which is at the client machine using delphi 7.


回答1:


  1. Compile the DLL with remote debugging symbols and deploy both (.dll, .rsm, etc) on the server machine
  2. Install the remote debugger on the server machine
  3. Start the remote debugger on the server machine
  4. Start Delphi on the client machine and load the DLL project
  5. Start a remote debugging session from Delphi by choosing Run - Attach to process and fill in the server machine
  6. Select the process on the server machine which loaded the DLL
  7. Debug remote

Also see http://delphi.wikia.com/wiki/Remote_Debugger



来源:https://stackoverflow.com/questions/1922225/how-to-do-remote-debugging-of-dll-in-delphi-7-from-scratch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!