  | ### 5.3.9 TRACE `Type:` int `Purpose:` sets level of debugging. `TRACE=0` No debugging messages are printed. `TRACE=1` Messages about entering and leaving of procedures are displayed. `TRACE=3` Messages about entering and leaving of procedures together with line numbers are displayed. `TRACE=4` Each line is echoed and the interpretation of commands in this line is suspended until the user presses `RETURN`. `TRACE=8` (debug version only:) show basering for all levels `TRACE=128` show all calls to kernel routines `TRACE=256` show all assigns `TRACE=512` show all automatic type conversions `TRACE=1024` profiling: print line numbers to smon.out `TRACE` is defaulted to 0. `TRACE` does not affect the output of commands. `Example:`
        TRACE=1;
        LIB "general.lib";
      ==> entering   mod_init (level 1)
      ==> entering       mod_init (level 3)
      ==> entering         semaphore (level 4)
      ==> leaving          semaphore (level 4)
      ==> leaving        mod_init (level 3)
      ==> leaving    mod_init (level 1)
      ==> entering   mod_init (level 1)
      ==> entering     semaphore (level 2)
      ==> leaving      semaphore (level 2)
      ==> entering     semaphore (level 2)
      ==> leaving      semaphore (level 2)
      ==> leaving    mod_init (level 1)
        sum(1..100);
      ==> entering sum (level 0)
      ==> entering   lsum (level 1)
      ==> entering     lsum (level 2)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> leaving      lsum (level 2)
      ==> entering     lsum (level 2)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> leaving      lsum (level 2)
      ==> leaving    lsum (level 1)
      ==> entering   lsum (level 1)
      ==> entering     lsum (level 2)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> leaving      lsum (level 2)
      ==> entering     lsum (level 2)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> entering       lsum (level 3)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> entering         lsum (level 4)
      ==> leaving          lsum (level 4)
      ==> leaving        lsum (level 3)
      ==> leaving      lsum (level 2)
      ==> leaving    lsum (level 1)
      ==> leaving  sum (level 0)
      ==> 5050
See int.

User manual for Singular version 4.4.1, 2025, generated by texi2html.