Deploying a Debug IOC
NOTE: if you are a developer wishing to develop on your desktop with a debug build, the debug version of the Developer server build may be easier to work with. The builds below do not ship .lib or intermediate O.* object directories so if you wish to rebuild with changes after having run the debugger it is a little more time consuming.
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:
You need to build the
dllCopy.batby runningmake dllCopy.batin the ioc boot area.Double-click on the
dllCopy.batfile in theiocBootarea of the IOC you want to deploy on kits, this will copy the dependent DLL and.pdbfiles to the {ioc}/bin/windows-x64-debug directoryBackup the
{ioc}/bin/windows-x64directory on the target computer to be tested.Copy the
.EXEand all.DLL/.pdbfiles from thekits/{ioc}/bin/windows-x64-debugdirectory to thebin/windows-x64of the target IOC.Also copy the files in
kits/EPICS/crtl/windows-x64-debugto the target{ioc}/bin/windows-x64directory.
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 a windows-x64-static-debug directory.