Debugging EPICS Applications For Beginners

Rozelle Wright


DEBUGGING REFERENCES


PHASES OF DEBUGGING


New Application


If It Works Save It -- tar


If It Works Save It -- Boot Parameters


Results of Saving a Boot File

'.mv167> bootChange
                                
'.' = clear field;  '-' = go to previous field;  ^D = quit
boot device          : ei 
processor number     : 0  
host name            : leia 
file name            : ~wright/vx/v51.epics/config/mv167/vxWorks 
inet on ethernet (e) : 189.165.32.83:ffffff00                    
inet on backplane (b):                        
host inet (h)        : 189.165.32.26 
gateway inet (g)     :               
user (u)             : vx 
ftp password (pw) (blank = use rsh): xxxxxxx
flags (f)            : 0x29                   
target name (tn)     : vxmv156733a 
startup script (s)   : ~wright/camac_demo/camac/startup.mv167 
other (o)            :                            

Why Save the Boot Parameters?


If It Doesn't Work, Start At the Beginning


Useful IOC tools

Examples


What Happend To EPICS?


Booting Problems

"When I telnet on to the IOC, EPICS is not running?"

Creating and Using an Empty Boot File To Watch an IOC Boot from telnet


Now That EPICS Is There The Database Doesn't Work


EPICS DIAGNOSTIC TOOLS


I Can See the Database On the IOC But the Display Doesn't Connect


My XY plots of Waveforms Don't Update


Useful Unix Tools for Debugging EPICS


Debugging the Application That Worked Yesterday and You Made No Changes


Debugging Someone Else's Application