Debugging

Task


The single line SPP task statement results in a very large amount of Fortran code. This implements a single procedure called sys_runtask, which is mapped to the Fortran name SYSRUK. This is because there is a great deal of processing dealing with selecting tasks and handling errors. Normally, there is no need to look at the preprocessed code for the task. When your task is compiling, you will see this procedure being compiled. Be aware also that when you are debugging, your top-level applications procedure is a subroutine of the task, which is, in turn, a subroutine of the IRAF main procedure. The top level IRAF main is part of the IRAF kernel and therefore written in C. Most debuggers will somehow make it known that they are trying to debug C code. This is usually not important.


Generated with CERN WebMaker