- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2
 
Deploying a DEBUG build IOC
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:
- You need to build the dllCopy.bat by running 
make 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 directory - Backup 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