Skip to content

Deploying a DEBUG build IOC

Freddie Akeroyd edited this page Jul 31, 2019 · 14 revisions

Wiki > The Backend System > IOCs > Debug Builds

DEBUG DLL builds are kept in EPICS_DEBUG_CLEAN_win7_x64 in the usual kits deployment area. If you wish to deploy only a single IOC in debug mode rather than replace the whole installation with the above debug build then:

  1. Double-click on the dllCopy.bat file in the iocBoot area of the IOC you want to deploy on kits, this will copy the dependent DLL and pdb files to the {ioc}/bin/windows-x64-debug directory
  2. Backup the {ioc}/bin/windows-x64 directory on the target computer to be tested.
  3. Copy the EXE and all DLL/pdb files from the kits/{ioc}/bin/windows-x64-debug directory to the bin/windows-x64 of the target IOC.
  4. Also copy the files in kits/EPICS/crtl/windows-x64-debug to the target {ioc}/bin/windows-x64 directory.

When you start the IOC it should now start the debug build you have copied over.

Note: there is also a EPICS_STATIC_DEBUG_CLEAN_win7_x64 build - this would only require copying the single EXE and pdb file as all DLLs are bundled into the EXE in a static build; however static builds have sometimes behaved differently to DLL builds in the past and so the above DLL option is a better test of the eventual mechanism, though trying a static EXE may be enough for diagnostics. The files here will be in windows-x64-static-debug

Clone this wiki locally