3
votes

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 Answers

4
votes
  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