Premium
Debugging methods in recursive structured FORTRAN
Author(s) -
Arisawa Makoto,
Iuchi Minoru
Publication year - 1980
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380100105
Subject(s) - debugging , computer science , subroutine , programming language , fortran , assertion , preprocessor , variable (mathematics) , parallel computing , algorithm , mathematics , mathematical analysis
A version of structured FORTRAN named STAR is introduced. STAR allows recursive subroutines. Implementation problems such as parameter passing by value and local variable stacking are discussed. The major difficulty in the preprocessor approach is debugging. We claim that execution profiles are strong debugging aids, and demonstrate how to debug a STAR program at source language level with the clue in the profiles plus assertion statements. We make use of a quicksort program as an example.