]> Kevux Git Server - controller/commitdiff
Update: Support the status debug define.
authorKevin Day <Kevin@kevux.org>
Sun, 9 Nov 2025 04:37:28 +0000 (22:37 -0600)
committerKevin Day <Kevin@kevux.org>
Sun, 9 Nov 2025 04:37:28 +0000 (22:37 -0600)
The `controller_debug_file_line_d` has been implemented in FLL as `F_status_debug_source_d`.
Switch to using the FLL `F_status_debug_source_d` in place of `controller_debug_file_line_d`.

Update the build settings modes.

45 files changed:
data/build/defines
data/build/settings
data/build/settings.controller
data/build/settings.init
data/build/stand_alone/config.h
data/build/stand_alone/settings.controller
data/build/stand_alone/settings.init
sources/c/program/controller/main/common/define.h
sources/c/program/controller/main/entry.c
sources/c/program/controller/main/entry/action.c
sources/c/program/controller/main/entry/preprocess.c
sources/c/program/controller/main/entry/process.c
sources/c/program/controller/main/entry/setting.c
sources/c/program/controller/main/instance/prepare.c
sources/c/program/controller/main/instance/wait.c
sources/c/program/controller/main/perform.c
sources/c/program/controller/main/print/debug/rule/action.h
sources/c/program/controller/main/print/debug/rule/execute.h
sources/c/program/controller/main/print/debug/rule/instance.h
sources/c/program/controller/main/print/error/entry.h
sources/c/program/controller/main/print/error/entry/action.h
sources/c/program/controller/main/print/error/entry/item.h
sources/c/program/controller/main/print/error/entry/setting.h
sources/c/program/controller/main/print/error/lock.h
sources/c/program/controller/main/print/error/perform/pid.h
sources/c/program/controller/main/print/error/rule.h
sources/c/program/controller/main/print/error/rule/action.h
sources/c/program/controller/main/print/error/rule/instance.h
sources/c/program/controller/main/print/error/rule/item.h
sources/c/program/controller/main/print/error/rule/setting.h
sources/c/program/controller/main/print/warning/entry/action.h
sources/c/program/controller/main/print/warning/entry/item.h
sources/c/program/controller/main/print/warning/entry/setting.h
sources/c/program/controller/main/print/warning/rule/action.h
sources/c/program/controller/main/print/warning/rule/item.h
sources/c/program/controller/main/print/warning/rule/setting.h
sources/c/program/controller/main/rule.c
sources/c/program/controller/main/rule/action.c
sources/c/program/controller/main/rule/execute.c
sources/c/program/controller/main/rule/instance.c
sources/c/program/controller/main/rule/item.c
sources/c/program/controller/main/rule/read.c
sources/c/program/controller/main/rule/setting.c
sources/c/program/controller/main/rule/wait.c
sources/c/program/controller/main/thread/instance.c

index 4a3be139554eda82ecbedaec35d014fa76017bc8..f282d0fd2c18a98b66378bf3304f41246e6ce24c 100644 (file)
@@ -1,8 +1,7 @@
 # fss-0000
 
-_di_libcap_           Disable libcap support, allow for compiling and linking without libcap (-lcap).
-_di_thread_support_   Disables thread support.
-_en_controller_debug_ Enable debug support (such as printing file and line number in error messages).
+_di_libcap_         Disable libcap support, allow for compiling and linking without libcap (-lcap).
+_di_thread_support_ Disables thread support.
 
 _libcap_legacy_only_ Disable functionality provided by later versions of libcap (2.43 and later).
 
index 9bd6068e2403ae2548de598eec1e7b1b5426eeca..b49d93c0f656b2055ec5dab1520a84b9730043da 100644 (file)
@@ -4,7 +4,7 @@
 #   - android:           Compile on an android system (using Termux; may need modification depending on the android system).
 #   - clang:             Use CLang rather than the default, which is generally GCC.
 #   - coverage:          Compile for building coverage.
-#   - debug:             Enable debug support.
+#   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
 #   - gcc:               Use GCC specific settings.
 #   - gcc_13:            Use GCC version 13 or greater specific settings.
@@ -26,7 +26,7 @@ version_file micro
 version_target minor
 
 modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
-modes_default monolithic thread gcc debug
+modes_default debug gcc monolithic thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -128,7 +128,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
-defines-debug -D_en_controller_debug_
+defines-debug -D_en_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index ec4f54ce0194bfdd41d26e872863dd7c4f061ad3..f6f615653aff4b8e8d7ff2d5b8ab203c1a81f8bd 100644 (file)
@@ -4,6 +4,7 @@
 #   - android:           Compile on an android system (using Termux; may need modification depending on the android system).
 #   - clang:             Use CLang rather than the default, which is generally GCC.
 #   - coverage:          Compile for building coverage.
+#   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
 #   - gcc:               Use GCC specific settings.
 #   - gcc_13:            Use GCC version 13 or greater specific settings.
@@ -24,8 +25,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
-modes_default monolithic thread gcc
+modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes_default debug gcc monolithic thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -89,6 +90,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index 5deb3c758dce36201f28b0870b88dc12137bf22c..2f84a39d88580f28a0e190b67c0e2ecf9e6e34f5 100644 (file)
@@ -4,6 +4,7 @@
 #   - android:           Compile on an android system (using Termux; may need modification depending on the android system).
 #   - clang:             Use CLang rather than the default, which is generally GCC.
 #   - coverage:          Compile for building coverage.
+#   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
 #   - gcc:               Use GCC specific settings.
 #   - gcc_13:            Use GCC version 13 or greater specific settings.
@@ -24,8 +25,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
-modes_default monolithic thread gcc
+modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes_default debug gcc monolithic thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -89,6 +90,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index ca6075a5fac661a3f568858cbd2e61602c5e5694..eec26fc59e41a10e0af7e99b642ebf3f184a77e2 100644 (file)
 #define _di_f_statess_destroy_callback_
 #define _di_f_statess_t_
 //#define _di_f_status_e_
+//#define _di_f_status_debug_d_
 //#define _di_f_status_mask_d_
 //#define _di_f_status_t_
 #define _di_f_statuss_t_
index 924220d5cd7f5848632d8aace755e38741fcd2ad..6a8cfabe1e4b8f1382b6e1fd0641a2f2bd8fce7d 100644 (file)
@@ -7,10 +7,12 @@
 #
 # Modes:
 #   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use clang rather than the default, which is generally GCC.
+#   - clang:      Use CLang rather than the default, which is generally GCC.
 #   - coverage:   Compile for building coverage.
+#   - debug:      Enable debugging, such as compile time debug options.
 #   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
 #   - gcc:        Use GCC specific settings.
+#   - gcc_13:     Use GCC version 13 or greater specific settings.
 #   - test:       Compile for a test, such as unit testing.
 #   - thread:     Compile with thread support.
 #   - threadless: Compile without thread support.
@@ -25,8 +27,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage fanalyzer gcc test thread threadless
-modes_default thread gcc
+modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes_default debug gcc thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -154,6 +156,7 @@ defines -include sources/c/config.h -I sources/c/
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index 48ce5a35daf0802541ce3c64bbbec40c80f49f5d..2ed979a232b7f34678df3b423af73dd4f5557bfa 100644 (file)
@@ -7,10 +7,12 @@
 #
 # Modes:
 #   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use clang rather than the default, which is generally GCC.
+#   - clang:      Use CLang rather than the default, which is generally GCC.
 #   - coverage:   Compile for building coverage.
+#   - debug:      Enable debugging, such as compile time debug options.
 #   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
 #   - gcc:        Use GCC specific settings.
+#   - gcc_13:     Use GCC version 13 or greater specific settings.
 #   - test:       Compile for a test, such as unit testing.
 #   - thread:     Compile with thread support.
 #   - threadless: Compile without thread support.
@@ -25,8 +27,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage fanalyzer gcc test thread threadless
-modes_default thread gcc
+modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes_default debug gcc thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -154,6 +156,7 @@ defines -include sources/c/config.h -I sources/c/
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index 85efc8449556a1df29be31900c3fbdbbb36e6717..01825f6f2fb29e1ac166d6b5b26851577d43b4a6 100644 (file)
@@ -145,33 +145,6 @@ extern "C" {
   #define controller_with_session_same_d 0x4
 #endif // _di_controller_with_d_
 
-/**
- * Debug related macros and defines
- *
- * The line_number and line_string macro parts are both required due to how macro expansion works, even with the stringify macro (the '#').
- *
- * controller_debug_*_d:
- *   - file_line: Print the current file and line number (and possibly the function, if __FUNCTION__ is supported).
- *
- * macro_controller_debug_*:
- *   - line_number: Convert the pre-defined __LINE__ macro into a string for use by the file_line, final part.
- *   - line_string: Convert the pre-defined __LINE__ macro into a string for use by the file_line, first part.
- */
-#ifndef _di_controller_debug_d_
-  #ifdef _en_controller_debug_
-    #define macro_controller_debug_line_number(line) #line
-    #define macro_controller_debug_line_string(line) macro_controller_debug_line_number(line)
-
-    #ifdef __FUNCTION__
-      #define controller_debug_file_line_d "" __FILE__ ":" macro_controller_debug_line_string(__LINE__) ":" __FUNCTION__
-    #else
-      #define controller_debug_file_line_d "" __FILE__ ":" macro_controller_debug_line_string(__LINE__)
-    #endif // __FUNCTION__
-  #else
-    #define controller_debug_file_line_d ""
-  #endif // _en_controller_debug_
-#endif // _di_controller_with_d_
-
 #ifdef __cplusplus
 } // extern "C"
 #endif
index c00d85fb3226e7200781d212668f1d6632feae90..afc2ba3da01506b5f7958af7d602043111e6d61a 100644 (file)
@@ -101,7 +101,7 @@ extern "C" {
           f_fss_apply_delimit(main->thread.cache.delimits, &main->thread.cache.buffer_file, &state);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, F_status_debug_source_d);
           }
         }
       }
@@ -114,7 +114,7 @@ extern "C" {
       state.status = f_memory_array_increase_by(main->thread.cache.object_items.used, sizeof(f_range_t), (void **) &main->thread.cache.object_items.array, &main->thread.cache.object_items.used, &main->thread.cache.object_items.size);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
       }
       else {
 
@@ -150,7 +150,7 @@ extern "C" {
           state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(controller_entry_item_t), (void **) &entry->items.array, &entry->items.used, &entry->items.size);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_status_debug_source_d);
 
             break;
           }
@@ -158,7 +158,7 @@ extern "C" {
           state.status = f_string_dynamic_partial_append(main->thread.cache.buffer_file, main->thread.cache.object_items.array[i], &main->thread.cache.action.name_item);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append), F_true, F_status_debug_source_d);
 
             break;
           }
@@ -166,7 +166,7 @@ extern "C" {
           f_fss_count_lines(main->thread.cache.buffer_file, main->thread.cache.object_items.array[i].start, &main->thread.cache.action.line_item, &state);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, F_status_debug_source_d);
 
             break;
           }
@@ -176,7 +176,7 @@ extern "C" {
           for (j = (code & 0x1) ? 1 : 0; j < entry->items.used; ++j) {
 
             if (f_compare_dynamic(entry->items.array[j].name, main->thread.cache.action.name_item) == F_equal_to) {
-              controller_print_warning_entry_item_duplicate_ignore(&main->program.warning, &main->thread.cache, is_entry, main->thread.cache.action.name_item, controller_debug_file_line_d);
+              controller_print_warning_entry_item_duplicate_ignore(&main->program.warning, &main->thread.cache, is_entry, main->thread.cache.action.name_item, F_status_debug_source_d);
 
               code |= 0x2;
 
@@ -205,7 +205,7 @@ extern "C" {
             state.status = f_memory_array_increase(at, sizeof(controller_entry_item_t), (void **) &entry->items.array, &entry->items.used, &entry->items.size);
 
             if (F_status_is_error(state.status)) {
-              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
 
               break;
             }
@@ -217,7 +217,7 @@ extern "C" {
               state.status = f_memory_array_resize(2, sizeof(controller_entry_item_t), (void **) &entry->items.array, &entry->items.used, &entry->items.size);
 
               if (F_status_is_error(state.status)) {
-                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_resize), F_true, controller_debug_file_line_d);
+                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_memory_array_resize), F_true, F_status_debug_source_d);
 
                 break;
               }
@@ -246,7 +246,7 @@ extern "C" {
             if (F_status_set_fine(state.status) != F_interrupt) {
               controller_lock_print(main->program.error.to, &main->thread);
 
-              controller_print_error_entry_cache(&main->program.error, &main->thread.cache.action, is_entry, controller_debug_file_line_d);
+              controller_print_error_entry_cache(&main->program.error, &main->thread.cache.action, is_entry, F_status_debug_source_d);
 
               controller_unlock_print_flush(main->program.error.to, &main->thread);
             }
@@ -343,7 +343,7 @@ extern "C" {
       entry->status = controller_status_simplify_error(F_status_set_fine(state.status));
 
       if (F_status_set_fine(state.status) != F_interrupt) {
-        controller_print_error_entry_cache(&main->program.error, &main->thread.cache.action, is_entry, controller_debug_file_line_d);
+        controller_print_error_entry_cache(&main->program.error, &main->thread.cache.action, is_entry, F_status_debug_source_d);
       }
     }
     else {
index d7f152edd96390e6c7e66a0e6e09f0d2c7d6ce94..264c54f4ad3aff4f292b3c8621d4d61170b38ecf 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
     }
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, F_status_debug_source_d);
 
       return state.status;
     }
@@ -42,7 +42,7 @@ extern "C" {
     f_fss_apply_delimit(main->thread.cache.delimits, &main->thread.cache.buffer_file, &state);
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, F_status_debug_source_d);
 
       return state.status;
     }
@@ -52,7 +52,7 @@ extern "C" {
     state.status = f_memory_array_increase_by(main->thread.cache.object_actions.used, sizeof(controller_entry_action_t), (void **) &actions->array, &actions->used, &actions->size);
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
 
       return state.status;
     }
@@ -83,7 +83,7 @@ extern "C" {
       f_fss_count_lines(main->thread.cache.buffer_file, main->thread.cache.object_actions.array[i].start, &main->thread.cache.action.line_action, &state);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, F_status_debug_source_d);
 
         break;
       }
@@ -93,7 +93,7 @@ extern "C" {
       state.status = f_rip_dynamic_partial_nulless(main->thread.cache.buffer_file, main->thread.cache.object_actions.array[i], &main->thread.cache.action.name_action);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, F_status_debug_source_d);
 
         break;
       }
@@ -144,7 +144,7 @@ extern "C" {
         actions->array[actions->used].type = controller_entry_action_type_timeout_e;
       }
       else {
-        controller_print_warning_entry_action_unknown(&main->program.warning, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, main->thread.cache.action.name_action, controller_debug_file_line_d);
+        controller_print_warning_entry_action_unknown(&main->program.warning, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, main->thread.cache.action.name_action, F_status_debug_source_d);
 
         continue;
       }
@@ -178,7 +178,7 @@ extern "C" {
       if (main->thread.cache.content_actions.array[i].used < at_least || main->thread.cache.content_actions.array[i].used > at_most) {
         action->status = controller_status_simplify_error(F_parameter);
 
-        controller_print_error_entry_action_requires_range(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, main->thread.cache.action.name_action, at_least, at_most, action->type, controller_debug_file_line_d);
+        controller_print_error_entry_action_requires_range(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, main->thread.cache.action.name_action, at_least, at_most, action->type, F_status_debug_source_d);
       }
       else {
         action->status = F_okay;
@@ -196,7 +196,7 @@ extern "C" {
         state.status = f_memory_array_increase_by(allocate, sizeof(f_string_dynamic_t), (void **) &action->parameters.array, &action->parameters.used, &action->parameters.size);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
 
           action->status = state.status;
 
@@ -216,7 +216,7 @@ extern "C" {
           state.status = f_memory_array_increase_by((main->thread.cache.content_actions.array[i].array[j].stop - main->thread.cache.content_actions.array[i].array[j].start) + 1, sizeof(f_char_t), (void **) &action->parameters.array[j].string, &action->parameters.array[j].used, &action->parameters.array[j].size);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
 
             break;
           }
@@ -224,7 +224,7 @@ extern "C" {
           state.status = f_string_dynamic_partial_append_nulless(main->thread.cache.buffer_file, main->thread.cache.content_actions.array[i].array[j], &action->parameters.array[j]);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_status_debug_source_d);
 
             break;
           }
@@ -240,7 +240,7 @@ extern "C" {
               state.status = controller_path_canonical_relative(main, main->process.path_current, action->parameters.array[0], &main->thread.cache.buffer_path);
 
               if (F_status_is_error(state.status)) {
-                controller_print_error_entry_file(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, main->thread.cache.action.generic, f_file_operation_analyze_s, fll_error_file_type_path_e, controller_debug_file_line_d);
+                controller_print_error_entry_file(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, main->thread.cache.action.generic, f_file_operation_analyze_s, fll_error_file_type_path_e, F_status_debug_source_d);
 
                 action->status = state.status;
 
@@ -262,7 +262,7 @@ extern "C" {
                 status_action = action->status;
               }
 
-              controller_print_error_entry_action_parameter_empty(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "first parameter", controller_debug_file_line_d);
+              controller_print_error_entry_action_parameter_empty(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "first parameter", F_status_debug_source_d);
             }
 
             if (action->parameters.array[1].used) {
@@ -271,7 +271,7 @@ extern "C" {
               state.status = f_file_name_base(action->parameters.array[1], &main->thread.cache.buffer_path);
 
               if (F_status_is_error(state.status)) {
-                controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_file_name_base), F_true, controller_debug_file_line_d);
+                controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(f_file_name_base), F_true, F_status_debug_source_d);
 
                 if (F_status_set_fine(state.status) == F_memory_not) {
                   status_action = controller_status_simplify_error(state.status);
@@ -287,7 +287,7 @@ extern "C" {
               }
               else {
                 if (f_compare_dynamic(action->parameters.array[1], main->thread.cache.buffer_path) == F_equal_to_not) {
-                  controller_print_error_entry_action_parameter_second_base(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, action->parameters.array[1], main->thread.cache.buffer_path, controller_debug_file_line_d);
+                  controller_print_error_entry_action_parameter_second_base(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, action->parameters.array[1], main->thread.cache.buffer_path, F_status_debug_source_d);
 
                   action->status = controller_status_simplify_error(F_parameter);
 
@@ -304,7 +304,7 @@ extern "C" {
                 status_action = action->status;
               }
 
-              controller_print_error_entry_action_parameter_empty(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "second parameter", controller_debug_file_line_d);
+              controller_print_error_entry_action_parameter_empty(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "second parameter", F_status_debug_source_d);
             }
 
             for (j = 2; j < action->parameters.used; ++j) {
@@ -327,7 +327,7 @@ extern "C" {
                   }
                 }
 
-                controller_print_error_entry_action_invalid_allow_3(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "third parameter (and beyond)", action->parameters.array[j], controller_asynchronous_s, controller_require_s, controller_wait_s, controller_debug_file_line_d);
+                controller_print_error_entry_action_invalid_allow_3(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, "third parameter (and beyond)", action->parameters.array[j], controller_asynchronous_s, controller_require_s, controller_wait_s, F_status_debug_source_d);
               }
             } // for
           }
@@ -339,7 +339,7 @@ extern "C" {
                 status_action = action->status;
               }
 
-              controller_print_error_entry_action_unsupported_reserve(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, controller_main_s, controller_debug_file_line_d);
+              controller_print_error_entry_action_unsupported_reserve(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, controller_main_s, F_status_debug_source_d);
             }
           }
           else if (action->type == controller_entry_action_type_timeout_e) {
@@ -360,7 +360,7 @@ extern "C" {
                 status_action = action->status;
               }
 
-              controller_print_error_entry_action_invalid_allow_3(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, 0, action->parameters.array[0], controller_kill_s, controller_start_s, controller_stop_s, controller_debug_file_line_d);
+              controller_print_error_entry_action_invalid_allow_3(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, 0, action->parameters.array[0], controller_kill_s, controller_start_s, controller_stop_s, F_status_debug_source_d);
             }
 
             if (action->status == F_okay) {
@@ -380,14 +380,14 @@ extern "C" {
                   }
 
                   if (F_status_set_fine(state.status) == F_memory_not) {
-                    controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_to_unsigned_detect), F_true, controller_debug_file_line_d);
+                    controller_print_error_entry(&main->program.error, entry->flag & controller_entry_flag_is_e, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_to_unsigned_detect), F_true, F_status_debug_source_d);
 
                     status_action = state.status;
 
                     break;
                   }
 
-                  controller_print_error_entry_action_unsupported_number(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, action->parameters.array[1], controller_debug_file_line_d);
+                  controller_print_error_entry_action_unsupported_number(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, action->parameters.array[1], F_status_debug_source_d);
                 }
               }
               else {
@@ -403,7 +403,7 @@ extern "C" {
               else {
                 action->status = controller_status_simplify_error(F_support_not);
 
-                controller_print_error_entry_action_invalid_allow_1(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, 0, action->parameters.array[0], controller_wait_s, controller_debug_file_line_d);
+                controller_print_error_entry_action_invalid_allow_1(&main->program.error, &main->thread.cache.action, entry->flag & controller_entry_flag_is_e, 0, action->parameters.array[0], controller_wait_s, F_status_debug_source_d);
               }
             }
           }
index 61d5473160099558ad3948b26ad2ac0b5465e334..8d6326801d9d928af83625b4b535abd450a36689 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
       status = f_memory_array_resize(2, sizeof(f_number_unsigned_t), (void **) &cache->ats.array, &cache->ats.used, &cache->ats.size);
 
       if (F_status_is_error(status)) {
-        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_resize), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_resize), F_true, F_status_debug_source_d);
 
         return status;
       }
@@ -53,7 +53,7 @@ extern "C" {
     status = f_string_dynamic_append_nulless(entry->items.array[0].name, &cache->action.name_item);
 
     if (F_status_is_error(status)) {
-      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -70,14 +70,14 @@ extern "C" {
         status2 = f_string_dynamic_append_nulless(controller_entry_action_type_name(actions->array[cache->ats.array[at_j]].type), &cache->action.name_action);
 
         if (F_status_is_error(status2)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
           return status2;
         }
 
         if (actions->array[cache->ats.array[at_j]].type == controller_entry_action_type_ready_e) {
           if (main->process.ready == controller_process_ready_wait_e) {
-            controller_print_warning_entry_action_multiple(&main->program.warning, cache, is_entry, controller_ready_s, controller_debug_file_line_d);
+            controller_print_warning_entry_action_multiple(&main->program.warning, cache, is_entry, controller_ready_s, F_status_debug_source_d);
           }
           else {
             main->process.ready = controller_process_ready_wait_e;
@@ -99,7 +99,7 @@ extern "C" {
               for (j = 2; j < cache->ats.used; j += 2) {
 
                 if (cache->ats.array[j] == i) {
-                  controller_print_error_entry_item_failure(&main->program.error, cache, is_entry, entry->items.array[i].name, "cannot be executed because recursion is not allowed", controller_debug_file_line_d);
+                  controller_print_error_entry_item_failure(&main->program.error, cache, is_entry, entry->items.array[i].name, "cannot be executed because recursion is not allowed", F_status_debug_source_d);
 
                   if (F_status_is_error_not(status)) {
                     status = F_status_set_error(F_recurse);
@@ -116,7 +116,7 @@ extern "C" {
               status2 = f_memory_array_increase(controller_allocation_small_d, sizeof(f_number_unsigned_t), (void **) &cache->ats.array, &cache->ats.used, &cache->ats.size);
 
               if (F_status_is_error(status2)) {
-                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_memory_array_increase), F_true, controller_debug_file_line_d);
+                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_memory_array_increase), F_true, F_status_debug_source_d);
 
                 return status2;
               }
@@ -141,7 +141,7 @@ extern "C" {
               status2 = f_string_dynamic_append_nulless(entry->items.array[i].name, &cache->action.name_item);
 
               if (F_status_is_error(status2)) {
-                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
                 return status2;
               }
@@ -152,7 +152,7 @@ extern "C" {
 
           if (error_has || i >= entry->items.used) {
             if (i >= entry->items.used) {
-              controller_print_error_entry_item_failure(&main->program.error, cache, is_entry, actions->array[cache->ats.array[at_j]].parameters.array[0], "does not exist", controller_debug_file_line_d);
+              controller_print_error_entry_item_failure(&main->program.error, cache, is_entry, actions->array[cache->ats.array[at_j]].parameters.array[0], "does not exist", F_status_debug_source_d);
 
               if (F_status_is_error_not(status)) {
                 status = F_status_set_error(F_valid_not);
@@ -186,7 +186,7 @@ extern "C" {
         status2 = f_string_dynamic_append_nulless(entry->items.array[cache->ats.array[at_i]].name, &cache->action.name_item);
 
         if (F_status_is_error(status2)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status2), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
           return status2;
         }
index 1525638430070851f54416c081a6bc2fc8737771..9231ee7d95c96a63402d1dbc50c2e22d970773cd 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
       status = f_memory_array_resize(2, sizeof(f_number_unsigned_t), (void **) &cache->ats.array, &cache->ats.used, &cache->ats.size);
 
       if (F_status_is_error(status)) {
-        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_resize), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_resize), F_true, F_status_debug_source_d);
 
         return status;
       }
@@ -54,7 +54,7 @@ extern "C" {
     status = f_string_dynamic_append_nulless(entry->items.array[cache->ats.array[0]].name, &cache->action.name_item);
 
     if (F_status_is_error(status)) {
-      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -83,7 +83,7 @@ extern "C" {
         status = f_string_dynamic_append_nulless(controller_entry_action_type_name(entry_action->type), &cache->action.name_action);
 
         if (F_status_is_error(status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
           return status;
         }
@@ -143,7 +143,7 @@ extern "C" {
           if (entry_action->number == 0 || entry_action->number >= entry->items.used || failsafe && entry_action->number == main->process.failsafe_item_id) {
 
             // This should not happen if the pre-process is working as intended, but in case it doesn't, return a critical error to prevent infinite recursion and similar errors.
-            controller_print_error_entry_item_invalid(&main->program.error, cache, is_entry, entry_action->number, controller_debug_file_line_d);
+            controller_print_error_entry_item_invalid(&main->program.error, cache, is_entry, entry_action->number, F_status_debug_source_d);
 
             return F_status_is_error(F_critical);
           }
@@ -151,7 +151,7 @@ extern "C" {
           status = f_memory_array_increase_by(2, sizeof(f_number_unsigned_t), (void **) &cache->ats.array, &cache->ats.used, &cache->ats.size);
 
           if (F_status_is_error(status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_increase_by), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_increase_by), F_true, F_status_debug_source_d);
 
             return status;
           }
@@ -174,7 +174,7 @@ extern "C" {
           status = f_string_dynamic_append_nulless(entry->items.array[cache->ats.array[at_i]].name, &cache->action.name_item);
 
           if (F_status_is_error(status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
             return status;
           }
@@ -221,7 +221,7 @@ extern "C" {
             status = f_memory_new(1, sizeof(controller_rule_t), (void **) &rule);
 
             if (F_status_is_error(status)) {
-              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_new), F_true, controller_debug_file_line_d);
+              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_new), F_true, F_status_debug_source_d);
 
               return status;
             }
@@ -266,7 +266,7 @@ extern "C" {
               if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
                 controller_lock_print(main->program.error.to, &main->thread);
 
-                controller_print_error_entry_cache(&main->program.error, &cache->action, is_entry, controller_debug_file_line_d);
+                controller_print_error_entry_cache(&main->program.error, &cache->action, is_entry, F_status_debug_source_d);
 
                 controller_unlock_print_flush(main->program.error.to, &main->thread);
               }
@@ -296,7 +296,7 @@ extern "C" {
                   f_memory_delete(1, sizeof(controller_rule_t), (void **) &rule);
                 }
 
-                controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+                controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
                 break;
               }
@@ -310,7 +310,7 @@ extern "C" {
 
                 f_thread_unlock(&main->thread.lock.rule);
 
-                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_increase), F_true, controller_debug_file_line_d);
+                controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_memory_array_increase), F_true, F_status_debug_source_d);
 
                 return status;
               }
@@ -377,16 +377,16 @@ extern "C" {
 
           if (F_status_is_error(status)) {
             if (F_status_set_fine(status) == F_file_found_not) {
-              controller_print_error_entry_action_execution_missing(&main->program.error, &cache->action, is_entry, entry_action->parameters.array[0], controller_debug_file_line_d);
+              controller_print_error_entry_action_execution_missing(&main->program.error, &cache->action, is_entry, entry_action->parameters.array[0], F_status_debug_source_d);
             }
             else {
-              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(fll_execute_into), F_true, controller_debug_file_line_d);
+              controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(fll_execute_into), F_true, F_status_debug_source_d);
             }
 
             return F_status_set_error(F_execute);
           }
           else if (result != 0) {
-            controller_print_error_entry_action_execution_failure(&main->program.error, &cache->action, is_entry, result, controller_debug_file_line_d);
+            controller_print_error_entry_action_execution_failure(&main->program.error, &cache->action, is_entry, result, F_status_debug_source_d);
 
             return F_status_set_error(F_execute);
           }
@@ -417,13 +417,13 @@ extern "C" {
         }
         else if (entry_action->type == controller_entry_action_type_failsafe_e) {
           if (failsafe) {
-            controller_print_warning_entry_action_failsafe_twice(&main->program.warning, cache, is_entry, controller_debug_file_line_d);
+            controller_print_warning_entry_action_failsafe_twice(&main->program.warning, cache, is_entry, F_status_debug_source_d);
           }
           else {
             if (entry_action->number == 0 || entry_action->number >= entry->items.used) {
 
               // This should not happen if the pre-process is working as designed, but in case it doesn't, return a critical error to prevent infinite recursion and similar errors.
-              controller_print_error_entry_item_invalid(&main->program.error, cache, is_entry, entry_action->number, controller_debug_file_line_d);
+              controller_print_error_entry_item_invalid(&main->program.error, cache, is_entry, entry_action->number, F_status_debug_source_d);
 
               return F_status_is_error(F_critical);
             }
@@ -464,7 +464,7 @@ extern "C" {
         status = f_string_dynamic_append_nulless(entry->items.array[cache->ats.array[at_i]].name, &cache->action.name_item);
 
         if (F_status_is_error(status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append_nulless), F_true, F_status_debug_source_d);
 
           break;
         }
index 5509ed726996f5b85ad89ef1541cce5337ec3898..07da2a2c425f29819a78521997aca58a0d959c9a 100644 (file)
@@ -20,7 +20,7 @@ extern "C" {
     }
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, F_status_debug_source_d);
 
       return state.status;
     }
@@ -28,7 +28,7 @@ extern "C" {
     f_fss_apply_delimit(cache->delimits, &cache->buffer_file, &state);
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, controller_debug_file_line_d);
+      controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_apply_delimit), F_true, F_status_debug_source_d);
 
       return state.status;
     }
@@ -46,7 +46,7 @@ extern "C" {
       f_fss_count_lines(cache->buffer_file, cache->object_actions.array[i].start, &cache->action.line_action, &state);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_fss_count_lines), F_true, F_status_debug_source_d);
 
         break;
       }
@@ -57,14 +57,14 @@ extern "C" {
       state.status = f_rip_dynamic_partial_nulless(cache->buffer_file, cache->object_actions.array[i], &cache->action.name_action);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, controller_debug_file_line_d);
+        controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, F_status_debug_source_d);
 
         break;
       }
 
       if (is_entry && f_compare_dynamic(controller_control_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used < 1 || cache->content_actions.array[i].used > 2) {
-          controller_print_error_entry_setting_requires_between(&main->program.error, cache, is_entry, 1, 2, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_between(&main->program.error, cache, is_entry, 1, 2, F_status_debug_source_d);
 
           continue;
         }
@@ -74,7 +74,7 @@ extern "C" {
             main->process.control.flag |= controller_control_flag_readonly_e;
           }
           else {
-            controller_print_error_entry_item_setting_support_not_option(&main->program.error, cache, is_entry, cache->buffer_file, cache->content_actions.array[i].array[1], controller_debug_file_line_d);
+            controller_print_error_entry_item_setting_support_not_option(&main->program.error, cache, is_entry, cache->buffer_file, cache->content_actions.array[i].array[1], F_status_debug_source_d);
 
             continue;
           }
@@ -89,7 +89,7 @@ extern "C" {
         state.status = f_rip_dynamic_partial_nulless(cache->buffer_file, cache->content_actions.array[i].array[0], &cache->action.generic);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, F_status_debug_source_d);
 
           break;
         }
@@ -99,7 +99,7 @@ extern "C" {
         state.status = controller_path_canonical_relative(main, main->process.path_current, cache->action.generic, &main->process.path_control);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry_file(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, cache->action.generic, f_file_operation_analyze_s, fll_error_file_type_path_e, controller_debug_file_line_d);
+          controller_print_error_entry_file(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, cache->action.generic, f_file_operation_analyze_s, fll_error_file_type_path_e, F_status_debug_source_d);
 
           continue;
         }
@@ -111,16 +111,16 @@ extern "C" {
 
         if (F_status_is_error(state.status)) {
           if (F_status_set_fine(state.status) == F_exist_not) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because no group was found by that name", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because no group was found by that name", F_status_debug_source_d);
           }
           else if (F_status_set_fine(state.status) == F_number_too_large) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because the given ID is too large", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because the given ID is too large", F_status_debug_source_d);
           }
           else if (F_status_set_fine(state.status) == F_number) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid group", cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", F_status_debug_source_d);
           }
           else {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_convert_group_id), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_convert_group_id), F_true, F_status_debug_source_d);
           }
 
           continue;
@@ -139,7 +139,7 @@ extern "C" {
         state.status = f_rip_dynamic_partial_nulless(cache->buffer_file, cache->content_actions.array[i].array[0], &cache->action.generic);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, F_status_debug_source_d);
 
           break;
         }
@@ -147,7 +147,7 @@ extern "C" {
         state.status = f_file_mode_from_string(cache->action.generic, main->program.umask, &mode_file, &replace);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an unsupported mode", cache->content_actions.array[i].array[0], ", because the format is unknown or contains invalid data", controller_debug_file_line_d);
+          controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an unsupported mode", cache->content_actions.array[i].array[0], ", because the format is unknown or contains invalid data", F_status_debug_source_d);
 
           continue;
         }
@@ -155,7 +155,7 @@ extern "C" {
         state.status = f_file_mode_to_mode(mode_file, &mode);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_file_mode_to_mode), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_file_mode_to_mode), F_true, F_status_debug_source_d);
 
           continue;
         }
@@ -170,16 +170,16 @@ extern "C" {
 
         if (F_status_is_error(state.status)) {
           if (F_status_set_fine(state.status) == F_exist_not) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because no user was found by that name", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because no user was found by that name", F_status_debug_source_d);
           }
           else if (F_status_set_fine(state.status) == F_number_too_large) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because the given ID is too large", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because the given ID is too large", F_status_debug_source_d);
           }
           else if (F_status_set_fine(state.status) == F_number) {
-            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", controller_debug_file_line_d);
+            controller_print_error_entry_setting_with_range(&main->program.error, cache, is_entry, " has an invalid user", cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", F_status_debug_source_d);
           }
           else {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_convert_user_id), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_convert_user_id), F_true, F_status_debug_source_d);
           }
 
           continue;
@@ -190,7 +190,7 @@ extern "C" {
       }
       else if (f_compare_dynamic(controller_define_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 2) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 2, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 2, F_status_debug_source_d);
 
           continue;
         }
@@ -198,14 +198,14 @@ extern "C" {
         state.status = controller_entry_setting_read_map(cache->buffer_file, cache->content_actions.array[i], &entry->define);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_entry_setting_read_map), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_entry_setting_read_map), F_true, F_status_debug_source_d);
 
           continue;
         }
       }
       else if (is_entry && f_compare_dynamic(controller_mode_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 1) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, F_status_debug_source_d);
 
           continue;
         }
@@ -220,14 +220,14 @@ extern "C" {
           main->process.mode = controller_process_mode_program_e;
         }
         else {
-          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           continue;
         }
       }
       else if (f_compare_dynamic(controller_parameter_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 2) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 2, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 2, F_status_debug_source_d);
 
           continue;
         }
@@ -235,14 +235,14 @@ extern "C" {
         state.status = controller_entry_setting_read_map(cache->buffer_file, cache->content_actions.array[i], &entry->parameter);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_entry_setting_read_map), F_true, controller_debug_file_line_d);
+          controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_entry_setting_read_map), F_true, F_status_debug_source_d);
 
           continue;
         }
       }
       else if (f_compare_dynamic(controller_pid_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 1) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, F_status_debug_source_d);
 
           continue;
         }
@@ -257,20 +257,20 @@ extern "C" {
           entry->pid = controller_entry_pid_require_e;
         }
         else {
-          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           continue;
         }
       }
       else if (is_entry && f_compare_dynamic(controller_pid_file_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 1) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, F_status_debug_source_d);
 
           continue;
         }
 
         if (main->setting.flag & controller_main_flag_pid_d) {
-          controller_print_error_entry_setting_ignored(&main->program.error, cache, is_entry, controller_debug_file_line_d);
+          controller_print_error_entry_setting_ignored(&main->program.error, cache, is_entry, F_status_debug_source_d);
         }
         else {
           cache->action.generic.used = 0;
@@ -278,7 +278,7 @@ extern "C" {
           state.status = f_rip_dynamic_partial_nulless(cache->buffer_file, cache->content_actions.array[i].array[0], &cache->action.generic);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(f_rip_dynamic_partial_nulless), F_true, F_status_debug_source_d);
 
             continue;
           }
@@ -288,7 +288,7 @@ extern "C" {
           state.status = controller_path_canonical_relative(main, main->process.path_current, cache->action.generic, &main->process.path_pid);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(controller_path_canonical_relative), F_true, F_status_debug_source_d);
 
             continue;
           }
@@ -296,7 +296,7 @@ extern "C" {
       }
       else if (f_compare_dynamic(controller_session_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 1) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, F_status_debug_source_d);
 
           continue;
         }
@@ -308,14 +308,14 @@ extern "C" {
           entry->session = controller_entry_session_same_e;
         }
         else {
-          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           continue;
         }
       }
       else if (f_compare_dynamic(controller_show_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used != 1) {
-          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_exactly(&main->program.error, cache, is_entry, 1, F_status_debug_source_d);
 
           continue;
         }
@@ -327,14 +327,14 @@ extern "C" {
           entry->show = controller_entry_show_init_e;
         }
         else {
-          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           continue;
         }
       }
       else if (f_compare_dynamic(controller_timeout_s, cache->action.name_action) == F_equal_to) {
         if (cache->content_actions.array[i].used < 1 || cache->content_actions.array[i].used > 2) {
-          controller_print_error_entry_setting_requires_between(&main->program.error, cache, is_entry, 1, 2, controller_debug_file_line_d);
+          controller_print_error_entry_setting_requires_between(&main->program.error, cache, is_entry, 1, 2, F_status_debug_source_d);
 
           continue;
         }
@@ -382,7 +382,7 @@ extern "C" {
           time = &entry->timeout_stop;
         }
         else {
-          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           continue;
         }
@@ -395,16 +395,16 @@ extern "C" {
           *time = time_previous;
 
           if (F_status_set_fine(state.status) == F_memory_not) {
-            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_unsigned_detect), F_true, controller_debug_file_line_d);
+            controller_print_error_entry(&main->program.error, is_entry, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_unsigned_detect), F_true, F_status_debug_source_d);
 
             continue;
           }
 
-          controller_print_error_entry_setting_support_not_number(&main->program.error, is_entry, cache->buffer_file, cache->content_actions.array[i].array[1], controller_debug_file_line_d);
+          controller_print_error_entry_setting_support_not_number(&main->program.error, is_entry, cache->buffer_file, cache->content_actions.array[i].array[1], F_status_debug_source_d);
         }
       }
       else {
-        controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+        controller_print_warning_entry_setting_unknown_action_value(&main->program.warning, cache, is_entry, cache->action.name_action, cache->buffer_file, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
         continue;
       }
index 26b95f18b93a6430ac2944b083ddd45a63444e4a..c30e74e755301e7b65aeb2907d7e3832f27fa2f5 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     f_status_t status = controller_lock_read_standard(is_normal, controller_lock_check_flag_yes_d, &main->thread, &main->thread.lock.instance);
 
     if (status != F_okay) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -40,7 +40,7 @@ extern "C" {
       status = controller_lock_write_standard(is_normal, controller_lock_check_flag_yes_d, &main->thread, &main->thread.lock.instance);
 
       if (F_status_is_error(status)) {
-        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, F_status_debug_source_d);
       }
       else {
         if (F_status_is_error_not(status)) {
index 67740b3c61f9d0f23bf2dcc44a7ee1eed28933aa..39885cda1c052f147c2ebea31862f9c7eff8e945 100644 (file)
@@ -50,7 +50,7 @@ extern "C" {
       status_lock = controller_lock_read_instance(instance, &instance->use);
 
       if (F_status_is_error(status_lock)) {
-        controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
         break;
       }
index de40968f8a7e7942a27b41ec4e733f34dae786a8..5c6a7173dddc451c4d0452f48b4364fcf967b499 100644 (file)
@@ -28,7 +28,7 @@ extern "C" {
 
         // Always return immediately on memory errors.
         if (F_status_set_fine(status) == F_memory_not) {
-          controller_print_error_perform_pid_file_create(&main->program.error, F_status_set_fine(status), macro_controller_f(controller_file_pid_create), is_entry, controller_debug_file_line_d);
+          controller_print_error_perform_pid_file_create(&main->program.error, F_status_set_fine(status), macro_controller_f(controller_file_pid_create), is_entry, F_status_debug_source_d);
 
           return status;
         }
index 06504989464a951e8c98acbb5d879578e35decd5..b2d9d63a97d50c63ac683f871f9514f6ca2e3813 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
  *   Must not be NULL.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 792e82d38055f2aa727e34b07acea8cf6aef1235..1e89732e335f3436416c0fdb8a5f2057da49e47f 100644 (file)
@@ -39,7 +39,7 @@ extern "C" {
  *   The ID of the Action being re-run.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index b8a3cf58609bb9087c3c8e4fb16b52ab41adf3c2..2c0cdadc94085e80bb2b1203203ef57eef6aedeb 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   A short explanation on why this is an error or warning.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 405a44552f1acae74ae38f563a595f0889f880fb..5ff7a99d61f8e66eee965dc86acd22592cc14a1d 100644 (file)
@@ -42,7 +42,7 @@ extern "C" {
  *   The thread data.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -80,7 +80,7 @@ extern "C" {
  *   If FALSE, then this loads as an Exit.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -125,7 +125,7 @@ extern "C" {
  *   A valid file type code from the fll_error_file_type enum.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 3cd1e6ec07fd7c2bab56e6cba5e9f03a0fa92311..173b9538af8311bc3e18088c3ab15b600879f783 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
  *   The return code.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -74,7 +74,7 @@ extern "C" {
  *   The program or script name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -118,7 +118,7 @@ extern "C" {
  *   The allowed value that is supported.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -166,7 +166,7 @@ extern "C" {
  *   The third allowed value that is supported.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -202,7 +202,7 @@ extern "C" {
  *   A message describing which parameter is empty.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -240,7 +240,7 @@ extern "C" {
  *   An example of a valid base path name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -282,7 +282,7 @@ extern "C" {
  *   The Action type code.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -318,7 +318,7 @@ extern "C" {
  *   The invalid value that is not supported.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -354,7 +354,7 @@ extern "C" {
  *   The reserved item that is not allowed to be used.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 755d2436ef9d7f3ae2c3828c9f08ebef8cf26747..859d690609b003b0b5d09ab50e8a3234ee8b377a 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   A short message describing the reason for the failure.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -76,7 +76,7 @@ extern "C" {
  *   The index position of the invalid item.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -114,7 +114,7 @@ extern "C" {
  *   The range within the buffer representing the setting name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 33f99bd043f045fbd83b6e2ca2039a1322dd44c3..813584cdc041cca2ce50505009eb065478834dcb 100644 (file)
@@ -45,7 +45,7 @@ extern "C" {
  *   The string to add to the message being printed (after the value).
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -79,7 +79,7 @@ extern "C" {
  *   If FALSE, then this loads as an Exit.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -117,7 +117,7 @@ extern "C" {
  *   The expected maximum number of arguments.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -153,7 +153,7 @@ extern "C" {
  *   The expected number of arguments.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -189,7 +189,7 @@ extern "C" {
  *   The range within the buffer representing the unsupported number.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index e45280b77d1da28ea53f0e0d341caa9bcabf0adc..18b3f637a116f1bc6611f9aad9749817cb4b597f 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
  *   If FALSE, then this is for a write lock.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index e4f1f033e9a4852b1fe15e6a64dcd4916c049771..47eb99cff71463448b8870a98dd108135326d9b9 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
  *   If FALSE, then this operates as an Exit.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 98174a8311a694ef84575a1744bd4560e5daae3f..92370f8b3f094acba9db3c0eed4a0d44f4bc0609 100644 (file)
@@ -46,7 +46,7 @@ extern "C" {
  *   If FALSE, then this error is associated with a Rule setting.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -91,7 +91,7 @@ extern "C" {
  *   If FALSE, then this error is associated with a Rule setting.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -127,7 +127,7 @@ extern "C" {
  *   If FALSE, then this error is associated with a Rule setting.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 5e0d3b02e5f7b566982152e7f5333b96a7636bfa..e24dfe6d014206ff31ad8d9f3942e6d654048484 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
  *   The range within the buffer representing the unknown Action name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -74,7 +74,7 @@ extern "C" {
  *   The Rule alias of the Rule that is missing the pid file designation.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -107,7 +107,7 @@ extern "C" {
  *   The Rule alias of the Rule that is missing the pid file designation.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -148,7 +148,7 @@ extern "C" {
  *   The status code of the error.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -183,7 +183,7 @@ extern "C" {
  *   The range within the buffer representing the second Action.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -218,7 +218,7 @@ extern "C" {
  *   A specific message on what is being attempted by the Action.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -255,7 +255,7 @@ extern "C" {
  *   The range within the buffer representing the unknown Action name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -290,7 +290,7 @@ extern "C" {
  *   The Action type name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 926e24991b07f7e960f5e3eee9c697490051111e..9cb0ca2e1896501730f9f27830add064b9229e66 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   A short explanation on why this is an error or warning.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 0a32449d77b36071f63baaa5d4d3e30665703461..0b1481a838736d4e08d88196ff9b583e49e2a4b8 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   The status code representing the failure (without the error bit set).
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -78,7 +78,7 @@ extern "C" {
  *   The status code result.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -114,7 +114,7 @@ extern "C" {
  *   If FALSE, then nothing to execute because there is no items.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -148,7 +148,7 @@ extern "C" {
  *   A short explanation on why this is an error or warning.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -181,7 +181,7 @@ extern "C" {
  *   The Rule alias of the Rule that is not loaded.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 5b2e460f6887a6a47f3ab42428a44231c66fbd17..f7c99162f9b887d412c2a6aa127bcfca36c2f18b 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   The string to append to the message being printed.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -75,7 +75,7 @@ extern "C" {
  *   The name or value of the setting associated with the error.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -129,7 +129,7 @@ extern "C" {
  *   Must not be NULL.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -156,7 +156,7 @@ extern "C" {
  *   The map being applied.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -191,7 +191,7 @@ extern "C" {
  *   F_output_not (with error bit) if setting is NULL.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  */
@@ -216,7 +216,7 @@ extern "C" {
  *   The ranger within the buffer representing the invalid number.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -247,7 +247,7 @@ extern "C" {
  *   The ranger within the buffer representing the invalid value.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -278,7 +278,7 @@ extern "C" {
  *   The ranger within the buffer representing the invalid value.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -312,7 +312,7 @@ extern "C" {
  *   If FALSE, then only the range 1 through 99 is supported.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -343,7 +343,7 @@ extern "C" {
  *   The ranger within the buffer representing the invalid value.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -375,7 +375,7 @@ extern "C" {
  *   An additional message to append at the end (before the final period).
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -408,7 +408,7 @@ extern "C" {
  *   Position within the content_actions range cache array.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index f5f0d72efc5ade0e5d9f3e0c1532590d9f6f2dbc..e8f7912f817863d9917966aab5f1bb2f2be0aede 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
  *   If FALSE, then this loads as an Exit.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -72,7 +72,7 @@ extern "C" {
  *   The item name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -107,7 +107,7 @@ extern "C" {
  *   The unknown value.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index fa38559645a30aca865ec757525f848ba3264e3c..545c1d362657155b54552ea4a0c820d9c9665c42 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
  *   The item name.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 5b7c085cb25572bec5ee2227e6ff79fd88281b58..9fa231a5a2b9351e6064458a57cacff905809555 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  *   The parameter name whose value is unknown.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
@@ -80,7 +80,7 @@ extern "C" {
  *   The range within the buffer representing the unknown value.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 86e1139dc4eefc0a07ad4b1191dfa38d2da7501b..289afdb24b2e3c1a8350bec8effc334e452f4050 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
  *   The Action name that is unknown.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 8a13912cf30d658d98d7024cd4f5617cf2cbdf58..2110996bcc1135b1095a22ca7f7f460495213f86 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
  *   The Item name that is unknown.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index 3c171f76e9231a6db7a2aaa689d656714d00e530..70ceda97be8b199950a71401d69d043e9dea7a1d 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
  *   The Item name that is unknown.
  * @param line_file
  *   The line number and file name associated with the error.
- *   Set this to macros like controller_debug_file_line_d.
+ *   Set this to macros like F_status_debug_source_d.
  *
  *   Set to NULL to disable.
  *
index bc7faaa365115be92d6e6b9478db078dbe6550cc..800ec0150502e65f22c1647201270ea197c99613 100644 (file)
@@ -236,7 +236,7 @@ extern "C" {
     f_status_t status = controller_lock_read_standard(is_entry, controller_lock_check_flag_yes_d, &main->thread, &main->thread.lock.rule);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       return status;
     }
index 7a865f18606262868dbe7b5b4eaa83f4f9d35188..fd3b824fab3632e248863ceecc6e18db8c44aab0 100644 (file)
@@ -290,7 +290,7 @@ extern "C" {
           if (!type_rerun) {
             state->status = F_status_set_error(F_valid_not);
 
-            controller_print_error_rule_action_first(&main->program.error, &cache->action, cache->buffer_item, cache->content_action.array[0], controller_debug_file_line_d);
+            controller_print_error_rule_action_first(&main->program.error, &cache->action, cache->buffer_item, cache->content_action.array[0], F_status_debug_source_d);
 
             return;
           }
@@ -310,7 +310,7 @@ extern "C" {
           else {
             state->status = F_status_set_error(F_valid_not);
 
-            controller_print_error_rule_action_second(&main->program.error, &cache->action, cache->buffer_item, cache->content_action.array[1], controller_debug_file_line_d);
+            controller_print_error_rule_action_second(&main->program.error, &cache->action, cache->buffer_item, cache->content_action.array[1], F_status_debug_source_d);
 
             return;
           }
@@ -329,7 +329,7 @@ extern "C" {
             else {
               state->status = F_status_set_error(F_valid_not);
 
-              controller_print_error_rule_action_unknown(&main->program.error, &cache->action, controller_rerun_s, cache->buffer_item, cache->content_action.array[i], controller_debug_file_line_d);
+              controller_print_error_rule_action_unknown(&main->program.error, &cache->action, controller_rerun_s, cache->buffer_item, cache->content_action.array[i], F_status_debug_source_d);
 
               return;
             }
@@ -354,7 +354,7 @@ extern "C" {
               item->with &= ~controller_with_session_new_d;
             }
             else {
-              controller_print_error_rule_action_unknown(&main->program.error, &cache->action, controller_with_s, cache->buffer_item, cache->content_action.array[i], controller_debug_file_line_d);
+              controller_print_error_rule_action_unknown(&main->program.error, &cache->action, controller_with_s, cache->buffer_item, cache->content_action.array[i], F_status_debug_source_d);
 
               state->status = F_status_set_error(F_valid_not);
 
@@ -457,7 +457,7 @@ extern "C" {
     }
 
     if (F_status_is_error_not(state->status) && state->status == F_data_not) {
-      controller_print_debug_rule_action_empty(&main->program.debug, cache, controller_debug_file_line_d);
+      controller_print_debug_rule_action_empty(&main->program.debug, cache, F_status_debug_source_d);
     }
   }
 #endif // _di_controller_rule_action_read_
@@ -491,7 +491,7 @@ extern "C" {
           controller_print_error(&main->program.error, macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect));
         }
         else {
-          controller_print_error_rule_action_positive_number_not(&main->program.error, &cache->action, name, cache->buffer_item, cache->content_action, *index, status, controller_debug_file_line_d);
+          controller_print_error_rule_action_positive_number_not(&main->program.error, &cache->action, name, cache->buffer_item, cache->content_action, *index, status, F_status_debug_source_d);
         }
       }
     }
index 81944c9808f696a478b38dfbd5f5bb0ddb1e04da..4ed6e3eea1151acd5208214a6cbff706254b84c1 100644 (file)
@@ -248,7 +248,7 @@ extern "C" {
           status = controller_rule_expand(main, instance->rule.items.array[i].actions.array[j], instance);
 
           if (F_status_is_error(status)) {
-            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, F_status_debug_source_d);
 
             break;
           }
@@ -278,7 +278,7 @@ extern "C" {
           status = controller_rule_expand(main, instance->rule.items.array[i].actions.array[j], instance);
 
           if (F_status_is_error(status)) {
-            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, F_status_debug_source_d);
 
             break;
           }
@@ -320,7 +320,7 @@ extern "C" {
           status = controller_rule_expand(main, instance->rule.items.array[i].actions.array[j], instance);
 
           if (F_status_is_error(status)) {
-            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, F_status_debug_source_d);
 
             break;
           }
@@ -350,7 +350,7 @@ extern "C" {
           else {
             success = F_status_set_error(F_failure);
 
-            controller_print_error_rule_action_missing_pid(&main->program.error, &instance->cache.action, instance->rule.alias, controller_debug_file_line_d);
+            controller_print_error_rule_action_missing_pid(&main->program.error, &instance->cache.action, instance->rule.alias, F_status_debug_source_d);
           }
         }
         else if (instance->rule.items.array[i].type == controller_rule_item_type_utility_e) {
@@ -358,7 +358,7 @@ extern "C" {
             status = controller_rule_expand(main, instance->rule.items.array[i].actions.array[j], instance);
 
             if (F_status_is_error(status)) {
-              controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(controller_rule_expand), F_true, F_false, F_status_debug_source_d);
 
               break;
             }
@@ -394,7 +394,7 @@ extern "C" {
           else {
             success = F_status_set_error(F_failure);
 
-            controller_print_error_rule_action_missing_pid(&main->program.error, &instance->cache.action, instance->rule.alias, controller_debug_file_line_d);
+            controller_print_error_rule_action_missing_pid(&main->program.error, &instance->cache.action, instance->rule.alias, F_status_debug_source_d);
           }
         }
         else {
@@ -416,7 +416,7 @@ extern "C" {
     if (F_status_set_fine(status) == F_lock || F_status_set_fine(status) == F_lock_read || F_status_set_fine(status) == F_lock_write) return status;
 
     if (success == false && execute_nothing) {
-      controller_print_error_rule_item_execute_none(&main->program.error, &instance->cache.action, instance->rule.alias, execute_nothing & 0x2, controller_debug_file_line_d);
+      controller_print_error_rule_item_execute_none(&main->program.error, &instance->cache.action, instance->rule.alias, execute_nothing & 0x2, F_status_debug_source_d);
     }
 
     if (!controller_thread_is_enabled_instance(instance)) return F_status_set_error(F_interrupt);
@@ -482,7 +482,7 @@ extern "C" {
       f_status_t status_lock = controller_lock_write_instance(instance, &instance->use);
 
       if (F_status_is_error(status_lock)) {
-        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
         return status_lock;
       }
@@ -498,7 +498,7 @@ extern "C" {
       status_lock = controller_lock_write_instance(instance, &instance->use);
 
       if (F_status_is_error(status_lock)) {
-        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
         return status_lock;
       }
@@ -538,14 +538,14 @@ extern "C" {
         const f_status_t status_lock = controller_lock_read_instance(instance, &instance->use);
 
         if (F_status_is_error(status_lock)) {
-          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
           return status_lock;
         }
       }
 
       if ((WIFEXITED(instance->result) && WEXITSTATUS(instance->result)) || status == F_control_group || status == F_failure || status == F_limit || status == F_processor || status == F_schedule) {
-        controller_print_error_rule_item_execute(&instance->main->program.error, type == controller_rule_item_type_script_e, program.used ? program : arguments.array[0], status, instance->result, controller_debug_file_line_d);
+        controller_print_error_rule_item_execute(&instance->main->program.error, type == controller_rule_item_type_script_e, program.used ? program : arguments.array[0], status, instance->result, F_status_debug_source_d);
       }
       else {
         controller_print_error_status(&instance->main->program.error, macro_controller_f(fll_execute_program), F_status_set_fine(status));
@@ -680,7 +680,7 @@ extern "C" {
       f_status_t status_lock = controller_lock_write_instance(instance, &instance->use);
 
       if (F_status_is_error(status_lock)) {
-        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
         return status_lock;
       }
@@ -696,7 +696,7 @@ extern "C" {
       status_lock = controller_lock_write_instance(instance, &instance->use);
 
       if (status_lock != F_okay) {
-        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
         return F_status_set_error(F_lock_write);
       }
@@ -736,14 +736,14 @@ extern "C" {
         const f_status_t status_lock = controller_lock_read_instance(instance, &instance->use);
 
         if (F_status_is_error(status_lock)) {
-          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
           return status_lock;
         }
       }
 
       if ((WIFEXITED(instance->result) && WEXITSTATUS(instance->result)) || status == F_control_group || status == F_failure || status == F_limit || status == F_processor || status == F_schedule) {
-        controller_print_error_rule_item_execute(&instance->main->program.error, type == controller_rule_item_type_utility_e, program.used ? program : arguments.array[0], status, instance->result, controller_debug_file_line_d);
+        controller_print_error_rule_item_execute(&instance->main->program.error, type == controller_rule_item_type_utility_e, program.used ? program : arguments.array[0], status, instance->result, F_status_debug_source_d);
       }
       else {
         controller_print_error_status(&instance->main->program.error, macro_controller_f(fll_execute_program), F_status_set_fine(status));
@@ -772,7 +772,7 @@ extern "C" {
       if (!controller_thread_is_enabled_instance(instance)) return -2;
 
       if (!rerun_item->max || rerun_item->count < rerun_item->max) {
-        controller_main_print_debug_rule_execute_rerun(&main->program.output, instance, rerun_item, action, controller_debug_file_line_d);
+        controller_main_print_debug_rule_execute_rerun(&main->program.output, instance, rerun_item, action, F_status_debug_source_d);
 
         if (rerun_item->delay) {
           f_time_spec_t delay = f_time_spec_t_initialize;
index 25dba48c651f5db28b1c836c1f476142b7add351..d6b1407223b905079f402bcf64a671714fece482 100644 (file)
@@ -24,7 +24,7 @@ extern "C" {
         break;
 
       default:
-        controller_print_error_rule_action_type_unsupported(&main->program.error, &instance->cache.action, controller_convert_rule_action_type_string(instance->action), "execute rule", controller_debug_file_line_d);
+        controller_print_error_rule_action_type_unsupported(&main->program.error, &instance->cache.action, controller_convert_rule_action_type_string(instance->action), "execute rule", F_status_debug_source_d);
 
         return F_status_set_error(F_parameter);
     }
@@ -42,7 +42,7 @@ extern "C" {
     }
 
     if (F_status_is_error(status)) {
-      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, controller_debug_file_line_d);
+      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -50,7 +50,7 @@ extern "C" {
     status = f_string_dynamic_append(instance->rule.alias, &instance->cache.action.name_file);
 
     if (F_status_is_error(status)) {
-      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, controller_debug_file_line_d);
+      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -62,7 +62,7 @@ extern "C" {
     }
 
     if (F_status_is_error(status)) {
-      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, controller_debug_file_line_d);
+      controller_print_error_rule(&main->program.error, &instance->cache.action, F_status_set_fine(status), macro_controller_f(f_string_dynamic_append), F_true, F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -83,7 +83,7 @@ extern "C" {
           break;
 
         default:
-          controller_print_error_rule_action_type_unsupported(&main->program.error, &instance->cache.action, controller_convert_rule_action_type_string(instance->action), "validate Fule execution", controller_debug_file_line_d);
+          controller_print_error_rule_action_type_unsupported(&main->program.error, &instance->cache.action, controller_convert_rule_action_type_string(instance->action), "validate Fule execution", F_status_debug_source_d);
 
           break;
       }
@@ -138,7 +138,7 @@ extern "C" {
               if (!controller_thread_is_enabled_instance_type(&main->thread, instance->type)) return F_status_set_error(F_interrupt);
             }
 
-            controller_print_error_rule_item_rule_not_loaded(&main->program.error, &instance->cache.action, dynamics[i]->array[j], controller_debug_file_line_d);
+            controller_print_error_rule_item_rule_not_loaded(&main->program.error, &instance->cache.action, dynamics[i]->array[j], F_status_debug_source_d);
 
             return status;
           }
@@ -148,7 +148,7 @@ extern "C" {
           status_lock = controller_lock_read_instance(instance, &dependency->active);
 
           if (F_status_is_error(status_lock)) {
-            controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+            controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
             status = F_false;
             dependency = 0;
@@ -172,12 +172,12 @@ extern "C" {
             rule = 0;
 
             if (i) {
-              controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], dynamics[i]->array[j], "is not found", controller_debug_file_line_d);
+              controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], dynamics[i]->array[j], "is not found", F_status_debug_source_d);
             }
             else {
               status = F_status_set_error(F_found_not);
 
-              controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], dynamics[i]->array[j], "is not found", controller_debug_file_line_d);
+              controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], dynamics[i]->array[j], "is not found", F_status_debug_source_d);
 
               if (!(instance->options & controller_instance_option_simulate_d)) {
                 if (dependency) {
@@ -204,7 +204,7 @@ extern "C" {
             status_lock = controller_lock_read_instance(instance, &dependency->use);
 
             if (F_status_is_error(status_lock)) {
-              controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+              controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
               status = status_lock;
             }
@@ -218,7 +218,7 @@ extern "C" {
               status_lock = controller_lock_read_instance(instance, &dependency->use);
 
               if (F_status_is_error(status_lock)) {
-                controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+                controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
                 status = status_lock;
               }
@@ -253,7 +253,7 @@ extern "C" {
 
                 if (F_status_is_error(status)) {
                   if (i == 0 || i == 1 || F_status_set_fine(status) == F_memory_not) {
-                    controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "failed during execution", controller_debug_file_line_d);
+                    controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "failed during execution", F_status_debug_source_d);
 
                     if (!(dependency->options & controller_instance_option_simulate_d) || F_status_set_fine(status) == F_memory_not) {
                       f_thread_unlock(&dependency->active);
@@ -262,7 +262,7 @@ extern "C" {
                     }
                   }
                   else {
-                    controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], alias_other_buffer, "failed during execution", controller_debug_file_line_d);
+                    controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], alias_other_buffer, "failed during execution", F_status_debug_source_d);
                   }
                 }
               }
@@ -281,14 +281,14 @@ extern "C" {
               status = status_lock;
 
               if (F_status_set_fine(status_lock) != F_interrupt) {
-                controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "due to lock failure", controller_debug_file_line_d);
+                controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "due to lock failure", F_status_debug_source_d);
               }
             }
             else if (controller_rule_status_is_error(instance->action, *rule)) {
               if (i == 0 || i == 1) {
                 status = F_status_set_error(F_found_not);
 
-                controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "is in a failed state", controller_debug_file_line_d);
+                controller_print_error_rule_instance_need_want_wish(&main->program.error, instance, strings[i], alias_other_buffer, "is in a failed state", F_status_debug_source_d);
 
                 if (!(dependency->options & controller_instance_option_simulate_d)) {
                   f_thread_unlock(&dependency->active);
@@ -297,7 +297,7 @@ extern "C" {
                 }
               }
               else {
-                controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], alias_other_buffer, "is in a failed state", controller_debug_file_line_d);
+                controller_print_debug_rule_instance_need_want_wish(&main->program.warning, instance, strings[i], alias_other_buffer, "is in a failed state", F_status_debug_source_d);
               }
             }
           }
@@ -341,7 +341,7 @@ extern "C" {
         if (missing) {
           status = F_status_set_error(F_parameter);
 
-          controller_print_error_rule_action_unknown_execute(&main->program.error, &instance->cache.action, instance->rule.name, controller_convert_rule_action_type_string(instance->action), instance->rule.items.used, controller_debug_file_line_d);
+          controller_print_error_rule_action_unknown_execute(&main->program.error, &instance->cache.action, instance->rule.name, controller_convert_rule_action_type_string(instance->action), instance->rule.items.used, F_status_debug_source_d);
         }
       }
 
@@ -355,7 +355,7 @@ extern "C" {
             controller_print_error_status(&main->program.error, macro_controller_f(controller_rule_execute), F_status_set_fine(status));
           }
 
-          controller_print_error_rule_item(&main->program.error, &instance->cache.action, F_true, F_status_set_fine(status), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &instance->cache.action, F_true, F_status_set_fine(status), F_status_debug_source_d);
         }
       }
     }
@@ -363,7 +363,7 @@ extern "C" {
     status_lock = controller_lock_write_instance(instance, &instance->use);
 
     if (F_status_is_error(status_lock)) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
       return status_lock;
     }
@@ -396,7 +396,7 @@ extern "C" {
           if (F_status_is_error(status_lock)) {
             f_thread_unlock(&instance->use);
 
-            controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+            controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
             return F_status_set_error(status_lock);
           }
@@ -413,7 +413,7 @@ extern "C" {
     if (F_status_is_error(status_lock)) {
       f_thread_unlock(&instance->use);
 
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
       return F_status_set_error(status_lock);
     }
@@ -437,7 +437,7 @@ extern "C" {
     f_status_t status = controller_instance_prepare(main, type != controller_instance_type_exit_e, action, alias_rule, &instance);
 
     if (F_status_is_error(status)) {
-      controller_print_error_rule_item_rule_not_loaded(&main->program.error, &cache->action, alias_rule, controller_debug_file_line_d);
+      controller_print_error_rule_item_rule_not_loaded(&main->program.error, &cache->action, alias_rule, F_status_debug_source_d);
 
       return status;
     }
@@ -445,8 +445,8 @@ extern "C" {
     status = controller_lock_read_standard(type != controller_instance_type_exit_e, controller_lock_check_flag_yes_d, &main->thread, &instance->active);
 
     if (status != F_okay) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
-      controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(status), controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
+      controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(status), F_status_debug_source_d);
 
       return status;
     }
@@ -456,7 +456,7 @@ extern "C" {
     if (F_status_is_error(status)) {
       f_thread_unlock(&instance->active);
 
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, F_status_debug_source_d);
 
       return status;
     }
@@ -583,7 +583,7 @@ extern "C" {
     if (F_status_is_error(status)) {
       f_thread_unlock(&instance->active);
 
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -599,7 +599,7 @@ extern "C" {
         if (F_status_is_error(status)) {
           f_thread_unlock(&instance->active);
 
-          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, controller_debug_file_line_d);
+          controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status), F_false, F_status_debug_source_d);
 
           return status;
         }
@@ -631,7 +631,7 @@ extern "C" {
     f_status_t status = controller_lock_read_instance(instance, &instance->use);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -671,7 +671,7 @@ extern "C" {
     else {
       status = F_status_set_error(F_found_not);
 
-      controller_print_error_rule_item_rule_not_loaded(&instance->main->program.error, &instance->cache.action, instance->rule.alias, controller_debug_file_line_d);
+      controller_print_error_rule_item_rule_not_loaded(&instance->main->program.error, &instance->cache.action, instance->rule.alias, F_status_debug_source_d);
     }
 
     if (status == F_child) return status;
@@ -689,7 +689,7 @@ extern "C" {
       const f_status_t status_lock = controller_lock_write_instance(instance, &instance->use);
 
       if (F_status_is_error(status_lock)) {
-        controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status_lock), F_false, controller_debug_file_line_d);
+        controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status_lock), F_false, F_status_debug_source_d);
 
         return status_lock;
       }
@@ -714,7 +714,7 @@ extern "C" {
     f_status_t status = controller_lock_write_instance(instance, &instance->use);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_false, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_false, F_status_debug_source_d);
 
       return status;
     }
@@ -741,7 +741,7 @@ extern "C" {
     f_status_t status = controller_lock_write_instance(instance, &instance->use);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_false, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_false, F_status_debug_source_d);
 
       return status;
     }
@@ -769,7 +769,7 @@ extern "C" {
     f_status_t status = controller_lock_read_instance(instance, &instance->use);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       return status;
     }
@@ -781,7 +781,7 @@ extern "C" {
         // Never continue on circular recursion errors even in simulate mode.
         status = F_status_set_error(F_recurse);
 
-        controller_print_error_rule_stack_already(&instance->main->program.error, &instance->cache.action, instance->rule.alias, F_true, controller_debug_file_line_d);
+        controller_print_error_rule_stack_already(&instance->main->program.error, &instance->cache.action, instance->rule.alias, F_true, F_status_debug_source_d);
 
         break;
       }
index a765f67ed0fdb9708a20072c5b106860080bc47e..f95d8d2f143784f8ff16bd46724cf540e6add40c 100644 (file)
@@ -125,7 +125,7 @@ extern "C" {
         type = controller_rule_action_type_with_e;
       }
       else {
-        controller_print_warning_rule_action_unknown(&main->program.warning, &cache->action, cache->action.name_action, controller_debug_file_line_d);
+        controller_print_warning_rule_action_unknown(&main->program.warning, &cache->action, cache->action.name_action, F_status_debug_source_d);
 
         continue;
       }
@@ -134,7 +134,7 @@ extern "C" {
         if (type == controller_rule_action_type_group_e || type == controller_rule_action_type_pid_file_e || type == controller_rule_action_type_user_e) {
           state->status = F_status_set_error(F_support_not);
 
-          controller_print_error_rule_action_fss_0003_unsupported(&main->program.error, &cache->action, cache->action.name_action, controller_debug_file_line_d);
+          controller_print_error_rule_action_fss_0003_unsupported(&main->program.error, &cache->action, cache->action.name_action, F_status_debug_source_d);
 
           break;
         }
index 557af82d8095ea4c43f1bf458ae962de9252c46f..320cba2c2688909ac25a58c4324545d5641cf4d6 100644 (file)
@@ -272,7 +272,7 @@ extern "C" {
             rule->items.array[rule->items.used].type = controller_rule_item_type_utility_e;
           }
           else {
-            controller_print_warning_rule_item_unknown(&main->program.warning, &cache->action, cache->action.name_item, controller_debug_file_line_d);
+            controller_print_warning_rule_item_unknown(&main->program.warning, &cache->action, cache->action.name_item, F_status_debug_source_d);
 
             continue;
           }
@@ -316,7 +316,7 @@ extern "C" {
     }
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_rule_item(&main->program.error, &cache->action, for_item, F_status_set_fine(state.status), controller_debug_file_line_d);
+      controller_print_error_rule_item(&main->program.error, &cache->action, for_item, F_status_set_fine(state.status), F_status_debug_source_d);
 
       rule->status[0] = controller_error_simplify(F_status_set_fine(state.status));
 
index 8beccf998c1c512b5e9287d8b9e19e34449c5249..fb8823ec66b3de554bfdd38f63b42e775cd0859c 100644 (file)
@@ -127,7 +127,7 @@ extern "C" {
     fll_fss_extended_read(cache->buffer_item, &range, &cache->object_actions, &cache->content_actions, 0, 0, &cache->delimits, 0, &state);
 
     if (F_status_is_error(state.status)) {
-      controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, F_false, controller_debug_file_line_d);
+      controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fll_fss_extended_read), F_true, F_false, F_status_debug_source_d);
 
       return state.status;
     }
@@ -163,7 +163,7 @@ extern "C" {
       state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->object_actions.array[i], &cache->action.name_item);
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
         if (F_status_set_fine(state.status) == F_memory_not) {
           status_return = state.status;
@@ -179,7 +179,7 @@ extern "C" {
 
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
         continue;
       }
@@ -238,7 +238,7 @@ extern "C" {
       else {
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-        controller_print_warning_rule_setting_unknown(&main->program.warning, &cache->action, cache->action.name_item, "Unknown", controller_debug_file_line_d);
+        controller_print_warning_rule_setting_unknown(&main->program.warning, &cache->action, cache->action.name_item, "Unknown", F_status_debug_source_d);
 
         continue;
       }
@@ -258,9 +258,9 @@ extern "C" {
             state.status = original;
           }
 
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), F_status_debug_source_d);
 
           if (F_status_set_fine(state.status) == F_memory_not) {
             status_return = state.status;
@@ -279,7 +279,7 @@ extern "C" {
         if (empty_disallow) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_warning_rule_setting_unknown(&main->program.warning, &cache->action, cache->action.name_item, "Empty", controller_debug_file_line_d);
+          controller_print_warning_rule_setting_unknown(&main->program.warning, &cache->action, cache->action.name_item, "Empty", F_status_debug_source_d);
 
           continue;
         }
@@ -289,7 +289,7 @@ extern "C" {
         if (!cache->content_actions.array[i].used) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -307,7 +307,7 @@ extern "C" {
           state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(int32_t), (void **) &rule->affinity.array, &rule->affinity.used, &rule->affinity.size);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
             break;
           }
@@ -328,13 +328,13 @@ extern "C" {
 
             if (state.status == F_data_not || state.status == F_number || state.status == F_number_overflow || state.status == F_number_underflow || state.status == F_number_negative || state.status == F_number_decimal) {
               if (state.status == F_number_underflow) {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too small for this system", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too small for this system", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
               else if (state.status == F_number_overflow || state.status == F_number_positive) {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
               else {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid number", cache->buffer_item, cache->content_actions.array[i].array[j], ", only whole numbers are allowed for an affinity value", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid number", cache->buffer_item, cache->content_actions.array[i].array[j], ", only whole numbers are allowed for an affinity value", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
 
               state.status = F_status_set_error(F_valid_not);
@@ -344,7 +344,7 @@ extern "C" {
               }
             }
             else {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, F_status_debug_source_d);
 
               state.status = F_status_set_error(state.status);
 
@@ -359,7 +359,7 @@ extern "C" {
           rule->affinity.array[rule->affinity.used++] = number;
         } // for
 
-        controller_print_error_rule_setting_values(&main->program.error, cache, controller_affinity_s, i, controller_debug_file_line_d);
+        controller_print_error_rule_setting_values(&main->program.error, cache, controller_affinity_s, i, F_status_debug_source_d);
 
         continue;
       }
@@ -368,7 +368,7 @@ extern "C" {
         if (cache->content_actions.array[i].used != 2) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly two Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly two Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -387,7 +387,7 @@ extern "C" {
         state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_string_map_t), (void **) &setting_maps->array, &setting_maps->used, &setting_maps->size);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
           if (F_status_set_fine(state.status) == F_memory_not) {
             status_return = state.status;
@@ -403,7 +403,7 @@ extern "C" {
 
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
           continue;
         }
@@ -414,7 +414,7 @@ extern "C" {
         state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[0], &setting_maps->array[setting_maps->used].key);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
           if (F_status_set_fine(state.status) == F_memory_not) {
             status_return = state.status;
@@ -430,7 +430,7 @@ extern "C" {
 
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
           continue;
         }
@@ -438,7 +438,7 @@ extern "C" {
         state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[1], &setting_maps->array[setting_maps->used].value);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
           if (F_status_set_fine(state.status) == F_memory_not) {
             status_return = state.status;
@@ -454,12 +454,12 @@ extern "C" {
 
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
           continue;
         }
 
-        controller_print_error_rule_setting_mapping(&main->program.error, type == controller_rule_setting_type_define_e ? controller_define_s : controller_parameter_s, setting_maps->array[setting_maps->used], controller_debug_file_line_d);
+        controller_print_error_rule_setting_mapping(&main->program.error, type == controller_rule_setting_type_define_e ? controller_define_s : controller_parameter_s, setting_maps->array[setting_maps->used], F_status_debug_source_d);
 
         ++setting_maps->used;
 
@@ -470,7 +470,7 @@ extern "C" {
         if (cache->content_actions.array[i].used < 2 || rule->has & controller_rule_has_cgroup_d) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires two or more Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires two or more Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -486,7 +486,7 @@ extern "C" {
           rule->cgroup.as_new = F_true;
         }
         else {
-          controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unknown option", cache->buffer_item, cache->content_actions.array[i].array[0], "", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+          controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unknown option", cache->buffer_item, cache->content_actions.array[i].array[0], "", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -500,7 +500,7 @@ extern "C" {
         state.status = f_string_dynamic_append(main->process.path_cgroup, &rule->cgroup.path);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_append), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_append), F_true, F_false, F_status_debug_source_d);
         }
         else {
           rule->cgroup.groups.used = 0;
@@ -510,7 +510,7 @@ extern "C" {
             state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_string_dynamic_t), (void **) &rule->cgroup.groups.array, &rule->cgroup.groups.used, &rule->cgroup.groups.size);
 
             if (F_status_is_error(state.status)) {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
               break;
             }
@@ -520,7 +520,7 @@ extern "C" {
             state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[j], &rule->cgroup.groups.array[rule->cgroup.groups.used]);
 
             if (F_status_is_error(state.status)) {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
               break;
             }
@@ -546,14 +546,14 @@ extern "C" {
 
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
           continue;
         }
 
         rule->has |= controller_rule_has_cgroup_d;
 
-        controller_print_error_rule_setting_values(&main->program.error, cache, controller_cgroup_s, i, controller_debug_file_line_d);
+        controller_print_error_rule_setting_values(&main->program.error, cache, controller_cgroup_s, i, F_status_debug_source_d);
 
         continue;
       }
@@ -562,7 +562,7 @@ extern "C" {
         if (cache->content_actions.array[i].used != 3) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires three Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires three Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -622,7 +622,7 @@ extern "C" {
         else {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "Unknown resource limit type", cache->action.name_action, controller_debug_file_line_d);
+          controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "Unknown resource limit type", cache->action.name_action, F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -638,7 +638,7 @@ extern "C" {
 
             state.status = F_status_set_error(F_valid_not);
 
-            controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "The resource limit type is already specified", cache->action.name_action, controller_debug_file_line_d);
+            controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "The resource limit type is already specified", cache->action.name_action, F_status_debug_source_d);
 
             if (F_status_is_error_not(status_return)) {
               status_return = state.status;
@@ -651,7 +651,7 @@ extern "C" {
         state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_limit_set_t), (void **) &rule->limits.array, &rule->limits.used, &rule->limits.size);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
           if (F_status_set_fine(state.status) == F_memory_not) {
             status_return = state.status;
@@ -667,7 +667,7 @@ extern "C" {
 
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+          controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
           continue;
         }
@@ -692,13 +692,13 @@ extern "C" {
 
             if (state.status == F_data_not || state.status == F_number || state.status == F_number_overflow || state.status == F_number_underflow || state.status == F_number_negative || state.status == F_number_positive || state.status == F_number_decimal) {
               if (state.status == F_number_underflow) {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too small for this system", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too small for this system", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
               else if (state.status == F_number_overflow) {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
               else {
-                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", only whole numbers are allowed for a resource limit value", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+                controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[j], ", only whole numbers are allowed for a resource limit value", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
               }
 
               state.status = F_status_set_error(F_valid_not);
@@ -708,7 +708,7 @@ extern "C" {
               }
             }
             else {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, F_status_debug_source_d);
 
               state.status = F_status_set_error(state.status);
 
@@ -732,7 +732,7 @@ extern "C" {
 
         rule->limits.array[rule->limits.used++].type = type;
 
-        controller_print_error_rule_setting_values(&main->program.error, cache, controller_limit_s, i, controller_debug_file_line_d);
+        controller_print_error_rule_setting_values(&main->program.error, cache, controller_limit_s, i, F_status_debug_source_d);
 
         continue;
       }
@@ -752,7 +752,7 @@ extern "C" {
         if (setting_value->used || !cache->content_actions.array[i].used) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -800,7 +800,7 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
             continue;
           }
@@ -817,7 +817,7 @@ extern "C" {
             }
 
             if (state.status == F_false) {
-              controller_print_error_rule_setting_name_invalid(&main->program.error, &cache->action, *setting_value, controller_debug_file_line_d);
+              controller_print_error_rule_setting_name_invalid(&main->program.error, &cache->action, *setting_value, F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = F_status_set_error(F_valid_not);
@@ -826,13 +826,13 @@ extern "C" {
             else {
 
               // This function should only return F_complete_not_utf on error.
-              controller_print_error_rule(&main->program.error, &cache->action, F_complete_not_utf, macro_controller_f(controller_validate_has_graph), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_complete_not_utf, macro_controller_f(controller_validate_has_graph), F_true, F_false, F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = state.status;
               }
 
-              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), controller_debug_file_line_d);
+              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), F_status_debug_source_d);
             }
 
             setting_value->used = 0;
@@ -840,13 +840,13 @@ extern "C" {
             continue;
           }
 
-          controller_print_error_rule_setting_value(&main->program.error, type == controller_rule_setting_type_name_e ? controller_name_s : controller_engine_s, f_string_empty_s, *setting_value, 0, controller_debug_file_line_d);
+          controller_print_error_rule_setting_value(&main->program.error, type == controller_rule_setting_type_name_e ? controller_name_s : controller_engine_s, f_string_empty_s, *setting_value, 0, F_status_debug_source_d);
         }
         else if (type == controller_rule_setting_type_path_e) {
           state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[0], setting_value);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
             if (F_status_set_fine(state.status) == F_memory_not) {
               status_return = state.status;
@@ -864,12 +864,12 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
             continue;
           }
 
-          controller_print_error_rule_setting_value(&main->program.error, controller_path_s, f_string_empty_s, *setting_value, 0, controller_debug_file_line_d);
+          controller_print_error_rule_setting_value(&main->program.error, controller_path_s, f_string_empty_s, *setting_value, 0, F_status_debug_source_d);
         }
 
         continue;
@@ -879,7 +879,7 @@ extern "C" {
         if (cache->content_actions.array[i].used < 1 || cache->content_actions.array[i].used > 2 || rule->has & controller_rule_has_scheduler_d) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires either one or two Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires either one or two Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -913,7 +913,7 @@ extern "C" {
           rule->scheduler.priority = 49;
         }
         else {
-          controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unknown scheduler", cache->buffer_item, cache->content_actions.array[i].array[0], "", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+          controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unknown scheduler", cache->buffer_item, cache->content_actions.array[i].array[0], "", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -950,14 +950,14 @@ extern "C" {
                 state.status = original;
               }
 
-              controller_print_error_rule_setting_number_invalid_scheduler(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], zero_only, controller_debug_file_line_d);
+              controller_print_error_rule_setting_number_invalid_scheduler(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], zero_only, F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = F_status_set_error(F_valid_not);
               }
             }
             else {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, F_status_debug_source_d);
               state.status = F_status_set_error(state.status);
 
               if (F_status_is_error_not(status_return)) {
@@ -973,7 +973,7 @@ extern "C" {
 
         rule->has |= controller_rule_has_scheduler_d;
 
-        controller_print_error_rule_setting_values(&main->program.error, cache, controller_scheduler_s, i, controller_debug_file_line_d);
+        controller_print_error_rule_setting_values(&main->program.error, cache, controller_scheduler_s, i, F_status_debug_source_d);
 
         continue;
       }
@@ -982,7 +982,7 @@ extern "C" {
         if (cache->content_actions.array[i].used != 2) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly two Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly two Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -1011,7 +1011,7 @@ extern "C" {
             state.status = original;
           }
 
-          controller_print_error_rule_setting_number_invalid_timeout(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+          controller_print_error_rule_setting_number_invalid_timeout(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -1037,10 +1037,10 @@ extern "C" {
           state.status = F_status_set_fine(state.status);
 
           if (state.status == F_number_overflow) {
-            controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[1], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+            controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an unsupported number", cache->buffer_item, cache->content_actions.array[i].array[1], ", the number is too large for this system", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
           }
           else if (state.status == F_data_not || state.status == F_number || state.status == F_number_underflow || state.status == F_number_negative || state.status == F_number_positive || state.status == F_number_decimal) {
-            controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid number", cache->buffer_item, cache->content_actions.array[i].array[1], ", only positive whole numbers are allowed", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+            controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid number", cache->buffer_item, cache->content_actions.array[i].array[1], ", only positive whole numbers are allowed", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
           }
           else {
             {
@@ -1051,7 +1051,7 @@ extern "C" {
               state.status = original;
             }
 
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, F_status_debug_source_d);
           }
 
           if (F_status_is_error_not(status_return)) {
@@ -1089,7 +1089,7 @@ extern "C" {
               break;
             }
 
-            controller_print_error_rule_setting_value(&main->program.error, controller_timeout_s, name_sub, cache->action.generic, 0, controller_debug_file_line_d);
+            controller_print_error_rule_setting_value(&main->program.error, controller_timeout_s, name_sub, cache->action.generic, 0, F_status_debug_source_d);
           }
         }
 
@@ -1100,7 +1100,7 @@ extern "C" {
         if (cache->content_actions.array[i].used != 1 || type == controller_rule_setting_type_capability_e && rule->capability || type == controller_rule_setting_type_group_e && (rule->has & controller_rule_has_group_d) || type == controller_rule_setting_type_nice_e && (rule->has & controller_rule_has_nice_d) || type == controller_rule_setting_type_user_e && (rule->has & controller_rule_has_user_d)) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly one Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly one Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -1125,9 +1125,9 @@ extern "C" {
 
             controller_lock_print(main->program.error.to, &main->thread);
 
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
-            controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, controller_debug_file_line_d);
+            controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, F_status_debug_source_d);
 
             controller_unlock_print_flush(main->program.error.to, &main->thread);
 
@@ -1156,9 +1156,9 @@ extern "C" {
 
               controller_lock_print(main->program.error.to, &main->thread);
 
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_capability_from_text), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_capability_from_text), F_true, F_false, F_status_debug_source_d);
 
-              controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, controller_debug_file_line_d);
+              controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, F_status_debug_source_d);
 
               controller_unlock_print_flush(main->program.error.to, &main->thread);
 
@@ -1169,7 +1169,7 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-            controller_print_error_rule_setting(&main->program.error, &cache->action, "failed to process the capabilities", controller_debug_file_line_d);
+            controller_print_error_rule_setting(&main->program.error, &cache->action, "failed to process the capabilities", F_status_debug_source_d);
 
             if (F_status_is_error_not(status_return)) {
               status_return = F_status_set_error(F_valid_not);
@@ -1178,7 +1178,7 @@ extern "C" {
             continue;
           }
 
-          controller_print_error_rule_setting_value(&main->program.error, controller_capability_s, f_string_empty_s, cache->action.generic, 0, controller_debug_file_line_d);
+          controller_print_error_rule_setting_value(&main->program.error, controller_capability_s, f_string_empty_s, cache->action.generic, 0, F_status_debug_source_d);
         }
         else if (type == controller_rule_setting_type_nice_e) {
           f_number_signed_t number = 0;
@@ -1206,14 +1206,14 @@ extern "C" {
                 state.status = original;
               }
 
-              controller_print_error_rule_setting_number_invalid_nice(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[0], controller_debug_file_line_d);
+              controller_print_error_rule_setting_number_invalid_nice(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[0], F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = F_status_set_error(F_valid_not);
               }
             }
             else {
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(fl_conversion_dynamic_partial_to_signed_detect), F_true, F_false, F_status_debug_source_d);
               state.status = F_status_set_error(state.status);
 
               if (F_status_is_error_not(status_return)) {
@@ -1241,9 +1241,9 @@ extern "C" {
 
                 controller_lock_print(main->program.error.to, &main->thread);
 
-                controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+                controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
-                controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, controller_debug_file_line_d);
+                controller_print_error_rule_cache(&main->program.error, &cache->action, F_false, F_status_debug_source_d);
 
                 controller_unlock_print_flush(main->program.error.to, &main->thread);
 
@@ -1259,7 +1259,7 @@ extern "C" {
               }
 
               if (F_status_is_error_not(state.status)) {
-                controller_print_error_rule_setting_value(&main->program.error, controller_nice_s, f_string_empty_s, cache->action.generic, 0, controller_debug_file_line_d);
+                controller_print_error_rule_setting_value(&main->program.error, controller_nice_s, f_string_empty_s, cache->action.generic, 0, F_status_debug_source_d);
               }
             }
           }
@@ -1273,13 +1273,13 @@ extern "C" {
             state.status = F_status_set_fine(state.status);
 
             if (state.status == F_exist_not) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because no user was found by that name", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because no user was found by that name", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else if (state.status == F_number_too_large) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because the given ID is too large", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because the given ID is too large", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else if (state.status == F_number) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid user", cache->buffer_item, cache->content_actions.array[i].array[0], ", because the given ID is not a valid supported number", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else {
               {
@@ -1290,9 +1290,9 @@ extern "C" {
                 state.status = original;
               }
 
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(controller_convert_user_id), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(controller_convert_user_id), F_true, F_false, F_status_debug_source_d);
 
-              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), controller_debug_file_line_d);
+              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), F_status_debug_source_d);
             }
 
             if (F_status_is_error_not(status_return)) {
@@ -1308,7 +1308,7 @@ extern "C" {
 
               state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[0], &cache->action.generic);
 
-              controller_print_error_rule_setting_value(&main->program.error, controller_user_s, f_string_empty_s, cache->action.generic, 0, controller_debug_file_line_d);
+              controller_print_error_rule_setting_value(&main->program.error, controller_user_s, f_string_empty_s, cache->action.generic, 0, F_status_debug_source_d);
             }
           }
         }
@@ -1320,7 +1320,7 @@ extern "C" {
         if (!cache->content_actions.array[i].used) {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", controller_debug_file_line_d);
+          controller_print_error_rule_setting(&main->program.error, &cache->action, "requires one or more Content", F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -1338,7 +1338,7 @@ extern "C" {
           state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_int32s_t), (void **) &rule->groups.array, &rule->groups.used, &rule->groups.size);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
             if (F_status_set_fine(state.status) == F_memory_not) {
               status_return = state.status;
@@ -1354,7 +1354,7 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
             continue;
           }
@@ -1365,13 +1365,13 @@ extern "C" {
             state.status = F_status_set_fine(state.status);
 
             if (state.status == F_exist_not) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because no group was found by that name", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because no group was found by that name", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else if (state.status == F_number_too_large) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because the given ID is too large", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because the given ID is too large", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else if (state.status == F_number) {
-              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because the given ID is not a valid supported number", cache->object_actions.array[i].start, line_item, &state, controller_debug_file_line_d);
+              controller_print_error_rule_setting_with_range(&main->program.error, &cache->action, " has an invalid group", cache->buffer_item, cache->content_actions.array[i].array[j], ", because the given ID is not a valid supported number", cache->object_actions.array[i].start, line_item, &state, F_status_debug_source_d);
             }
             else {
               {
@@ -1382,9 +1382,9 @@ extern "C" {
                 state.status = original;
               }
 
-              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_account_group_id_by_name), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_account_group_id_by_name), F_true, F_false, F_status_debug_source_d);
 
-              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), controller_debug_file_line_d);
+              controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), F_status_debug_source_d);
             }
 
             if (F_status_is_error_not(status_return)) {
@@ -1402,7 +1402,7 @@ extern "C" {
           }
         } // for
 
-        controller_print_error_rule_setting_values(&main->program.error, cache, controller_group_s, i, controller_debug_file_line_d);
+        controller_print_error_rule_setting_values(&main->program.error, cache, controller_group_s, i, F_status_debug_source_d);
 
         continue;
       }
@@ -1415,7 +1415,7 @@ extern "C" {
           state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_string_dynamic_t), (void **) &setting_values->array, &setting_values->used, &setting_values->size);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
 
             if (F_status_set_fine(state.status) == F_memory_not) {
               status_return = state.status;
@@ -1431,7 +1431,7 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
             continue;
           }
@@ -1441,7 +1441,7 @@ extern "C" {
           state.status = f_string_dynamic_partial_append_nulless(cache->buffer_item, cache->content_actions.array[i].array[j], &setting_values->array[setting_values->used]);
 
           if (F_status_is_error(state.status)) {
-            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, controller_debug_file_line_d);
+            controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_string_dynamic_partial_append_nulless), F_true, F_false, F_status_debug_source_d);
 
             setting_values->array[setting_values->used].used = 0;
 
@@ -1459,7 +1459,7 @@ extern "C" {
 
             controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
             continue;
           }
@@ -1476,7 +1476,7 @@ extern "C" {
             }
 
             if (state.status == F_false) {
-              controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "Rule setting has an invalid environment variable name", setting_values->array[setting_values->used], controller_debug_file_line_d);
+              controller_print_error_rule_setting_reason_name(&main->program.error, &cache->action, "Rule setting has an invalid environment variable name", setting_values->array[setting_values->used], F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = F_status_set_error(F_valid_not);
@@ -1485,7 +1485,7 @@ extern "C" {
             else {
 
               // This function should only return F_complete_not_utf on error.
-              controller_print_error_rule(&main->program.error, &cache->action, F_complete_not_utf, macro_controller_f(controller_validate_environment_name), F_true, F_false, controller_debug_file_line_d);
+              controller_print_error_rule(&main->program.error, &cache->action, F_complete_not_utf, macro_controller_f(controller_validate_environment_name), F_true, F_false, F_status_debug_source_d);
 
               if (F_status_is_error_not(status_return)) {
                 status_return = state.status;
@@ -1494,7 +1494,7 @@ extern "C" {
 
             setting_values->array[setting_values->used].used = 0;
 
-            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), controller_debug_file_line_d);
+            controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(state.status), F_status_debug_source_d);
 
             continue;
           }
@@ -1505,7 +1505,7 @@ extern "C" {
         rule->has |= controller_rule_has_environment_d;
 
         if (cache->content_actions.array[i].used) {
-          controller_print_error_rule_setting_values(&main->program.error, cache, controller_environment_s, i, controller_debug_file_line_d);
+          controller_print_error_rule_setting_values(&main->program.error, cache, controller_environment_s, i, F_status_debug_source_d);
         }
         else {
           controller_print_output_rule_execute_setting_empty_set(&main->program.output, controller_environment_s);
@@ -1518,7 +1518,7 @@ extern "C" {
       if (cache->content_actions.array[i].used != 4) {
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, line_item, &state);
 
-        controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly four Content", controller_debug_file_line_d);
+        controller_print_error_rule_setting(&main->program.error, &cache->action, "requires exactly four Content", F_status_debug_source_d);
 
         if (F_status_is_error_not(status_return)) {
           status_return = F_status_set_error(F_valid_not);
@@ -1557,7 +1557,7 @@ extern "C" {
       else {
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-        controller_print_error_rule_setting_number_invalid_on_first(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], controller_debug_file_line_d);
+        controller_print_error_rule_setting_number_invalid_on_first(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], F_status_debug_source_d);
 
         if (F_status_is_error_not(status_return)) {
           status_return = F_status_set_error(F_valid_not);
@@ -1575,7 +1575,7 @@ extern "C" {
       }
 
       if (F_status_is_error(state.status)) {
-        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
       }
       else {
         if (f_compare_dynamic_partial_string(controller_need_s.string, cache->buffer_item, controller_need_s.used, cache->content_actions.array[i].array[1]) == F_equal_to) {
@@ -1590,7 +1590,7 @@ extern "C" {
         else {
           controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-          controller_print_error_rule_setting_number_invalid_on_second(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], controller_debug_file_line_d);
+          controller_print_error_rule_setting_number_invalid_on_second(&main->program.error, &cache->action, cache->buffer_item, cache->content_actions.array[i].array[1], F_status_debug_source_d);
 
           if (F_status_is_error_not(status_return)) {
             status_return = F_status_set_error(F_valid_not);
@@ -1602,7 +1602,7 @@ extern "C" {
         state.status = f_memory_array_increase(controller_allocation_small_d, sizeof(f_string_dynamic_t), (void **) &setting_values->array, &setting_values->used, &setting_values->size);
 
         if (F_status_is_error(state.status)) {
-          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, controller_debug_file_line_d);
+          controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_memory_array_increase), F_true, F_false, F_status_debug_source_d);
         }
       }
 
@@ -1621,7 +1621,7 @@ extern "C" {
 
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
         continue;
       }
@@ -1645,7 +1645,7 @@ extern "C" {
 
         controller_rule_setting_line_action(main, &cache->action, cache->buffer_item, cache->object_actions.array[i].start, cache->action.line_item, &state);
 
-        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), controller_debug_file_line_d);
+        controller_print_error_rule_item(&main->program.error, &cache->action, F_false, F_status_set_fine(original), F_status_debug_source_d);
 
         continue;
       }
@@ -1657,7 +1657,7 @@ extern "C" {
       if (F_status_is_error(state.status)) {
         setting_values->array[setting_values->used].used = 0;
 
-        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_file_name_base), F_true, F_false, controller_debug_file_line_d);
+        controller_print_error_rule(&main->program.error, &cache->action, F_status_set_fine(state.status), macro_controller_f(f_file_name_base), F_true, F_false, F_status_debug_source_d);
 
         if (F_status_set_fine(state.status) == F_memory_not) {
           status_return = state.status;
index 3fe743b6141470965abec9e73a45d36d89195a4b..797d58156ac3866255eae9f302d8008922db0757 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     f_status_t status_lock = controller_lock_read_standard(is_normal, controller_lock_check_flag_no_d, &main->thread, &main->thread.lock.instance);
 
     if (status_lock != F_okay) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), F_true, F_status_debug_source_d);
 
       return status_lock;
     }
@@ -151,7 +151,7 @@ extern "C" {
     }
 
     if (F_status_is_error(status_lock)) {
-      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), !(locked & 0x4), controller_debug_file_line_d);
+      controller_print_error_lock_critical(&main->program.error, F_status_set_fine(status_lock), !(locked & 0x4), F_status_debug_source_d);
 
       return status_lock;
     }
index e6ad4540a707e4b92add9a4e2efa444edfc9f153..e918d1f9eea6c3c6dd90eeaa1f4a3c0092d0707d 100644 (file)
@@ -15,7 +15,7 @@ extern "C" {
     status = controller_lock_read_instance(instance, &instance->active);
 
     if (F_status_is_error(status)) {
-      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, controller_debug_file_line_d);
+      controller_print_error_lock_critical(&instance->main->program.error, F_status_set_fine(status), F_true, F_status_debug_source_d);
 
       // According to some man pages, pthread_exit() calls exit(0), so expliticly exit to ensure a non-zero code is returned when needed.
       exit(EXIT_FAILURE);