12.8.1 Foreign debugging functions
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Notes on Using Foreign Code
          • Foreign debugging functions
            • PL_backtrace()
            • PL_backtrace_string()
            • PL_check_data()
            • PL_check_stacks()
            • prolog_debug/1
            • prolog_nodebug/1
            • PL_prolog_debug()
            • PL_prolog_nodebug()
    • Packages
Availability:C-language interface function
int PL_prolog_debug(const char *topic)
int PL_prolog_nodebug(const char *topic)
(De)activate debug topics. The topics argument is a comma-separated string of topics to enable or disable. Matching is case-insensitive. See also prolog_debug/1 and prolog_nodebug/1.

These functions require the system to be compiled for debugging using cmake -DCMAKE_BUILD_TYPE=Debug.