• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

14 Deploying applications
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Deploying applications
        • Deployment options
        • Understanding saved states
        • State initialization
        • Using program resources
        • Debugging and updating deployed systems
        • Protecting your code
        • Finding Application files
    • Packages

14.5 Debugging and updating deployed systems

SWI-Prolog provides several facilities to debug and update running (server) applications. The core to these facilities are:

  • Hot-swap recompilation (section 4.3.2 and the library library(hotswap)) allow, with some limitation, making modifications to running services. This includes adding debugging and logging statements.

  • To make this useful some form of interaction is required. This can be implemented using signal handlers (Unix), specific HTTP services, generic HTTP services (e.g., SWISH) or networked interaction using the library library(prolog_server) that allow interaction using netcat (nc) or telnet.

ClioPatria (version V3.1.1-51-ga0b30a5)