Debugging dynamic web applications is challenging in many ways. Applications intrinsically consist of (at least) a server and a client program, each deployed on different nodes. Because of that, web applications behave like distributed systems and debugging them faces much of the same problems like managing state and heterogeneity of nodes. For web applications the latter problem also applies for the distinction between client and server code. These sections are typically written in different languages which further complicates the debugging of a web application. The most common solution is dealing with each program layer individually using language-specific debugging tools, but this does not give an overview of the entire application flow. Multi-tier languages allow programming a web application in a single language as a single application. They are primarily designed to offer advantages with regards to developing web applications, but this opens up new possibilities for debugging as well. We propose Elmsvuur, a multi-tier version of Elm, and a time-travel debugger for it. The debugger operates as a single tool for the whole client/server application. We discuss how advanced timeline debugging features, such as resuming from different points in the history, allows programmers to find bugs across tiers.

Original languageEnglish
Title of host publicationTrends in Functional Programming - 18th International Symposium, TFP 2017, Revised Selected Papers
PublisherSpringer Verlag
Number of pages19
Volume10788 LNCS
ISBN (Print)9783319897189
Publication statusPublished - 2018
Event18th International Symposium on Trends in Functional Programming, TFP 2017 - Canterbury, United Kingdom
Duration: 19 Jun 201721 Jun 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10788 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Conference18th International Symposium on Trends in Functional Programming, TFP 2017
CountryUnited Kingdom

ID: 39992854