User Tools

Site Tools


guides:rdb

Running a remote debugger

Documentation | Running a remote debugger

An application can be debugged on a remote machine (or Virtual Machine, Docker running on the same machine as IDE). However, additional steps are required:

  1. Run Remote Debug License.lnk app from the DK program group; this is a command-line utility; it can be run as an IDE Pre-build Event;
  2. Deploy to a remote machine a file GisLicenseRDB.txt; the file must be placed into the same location as an executable file;
  3. Embed GisLicense file (or call TGIS_LicenseManager.SetLicense);
  • Be aware that GisLicenseRDB.txt is valid only for a limited time and should be regenerated before any debug session;
  • Remember that time zones on both machines must match.

Delphi Specific

RAD Studio:

  1. In Project Options select Build Events and edit Pre-build event to add command c:\Program Files (x86)\TatukGIS\DK11 for Delphi\Remote Debugger License.lnk
  2. In Project Deployment add %USERPROFILE%\Documents\TatukGIS\DK11 for .Delphi\GisLicenseRDB.txt and set RemotePath to be placed together with extecutabale file (typically .\).

.NET Specific

Visual Studio:

  1. In Project Properties, edit /Build Events / Pre-build-event command line as:
    "c:\Program Files (x86)\TatukGIS\DK11 for .NET\Remote Debugger License.lnk" 
    copy "%USERPROFILE%\Documents\TatukGIS\DK11 for .NET\GisLicenseRDB.txt" $(ProjectDir)
  2. Add GisLicenseRDB.txt to the project and set Copy To Output=Copy if newer property.

ASP.NET Core Specific

Visual Studio:

  1. In Project Properties, edit /Build Events / Pre-build-event command line as:
    "c:\Program Files (x86)\TatukGIS\DK11 for ASP.NET\Remote Debugger License.lnk" 
    copy "%USERPROFILE%\Documents\TatukGIS\DK11 for ASP.NET\GisLicenseRDB.txt" $(ProjectDir)
  2. Add GisLicenseRDB.txt to the project and set Copy To Output=Copy if newer property.
  3. Add “%USERPROFILE%\Documents\TatukGIS\DK11 for ASPN.NET\Developer License\TatukGIS_DK11_ASPNET.license” to the project and set Copy To Output=Copy if newer property.
2021/11/05 15:05

Page Tools