首页> 外文会议>ACM SIGPLAN international conference on functional programming >Tracing piece by piece: affordable debugging for lazy functional languages
【24h】

Tracing piece by piece: affordable debugging for lazy functional languages

机译:追踪曲线:懒惰功能语言的负担得起调试

获取原文

摘要

The advantage of lazy functional languages is that programs may be written declaratively without specifying the exact evaluation order.The ensuing order of evaluation cna however be quite involved which makes it difficult to debug such programs using traditional,operational techniques.A solution is to trace the ocmputation in a way which focuses on the declarative aspects and hides irrelevant operational details.the main problem with this approach is the imense cost in time and space of tracing large compuatations.Dealing with these poerformanc eissues is thus the key to practical,geenral purpose debuggers for lazy functional languages.In this paper we show that computing partial traces on demand by re-executing the traced program is a viable way to over-come these difficulties.This allows any program to be traced using only a fixed amount of extra storage.Since it takes a lot of time to build a complete trace,most of which is wasted since only a fraction of a typical trace is inveestigated duirng debugging,partial tracing and repeated re-exectution iis also attractive from a time perspective.perormane figurses are presented to substantiate our claims.
机译:惰性功能语言的优点是可以在未指定精确的评估顺序的情况下声明地写入程序。然而,评估CNA的随机顺序非常涉及,这使得难以使用传统的操作技术调试这些程序。解决方案是追踪以一种侧重于陈述方面的方式,隐藏无关的运营细节。这种方法的主要问题是追踪大型组成的巨大时间和空间。因此,与这些Poerformanc令人遗憾的是实用,加强的关键,Geenral目的调试者对于惰性功能语言。本文显示,通过重新执行追踪程序的计算部分追踪是一种可行的方式来过度来实现这些困难。这允许仅使用固定数量的额外存储来跟踪任何程序。由于建立完整的迹线需要花费大量的时间,因此大多数是浪费的,因为只有典型迹线的一小部分是inveesti门控duirng调试,部分跟踪和重复的重新曝光IIS也有吸引力的透视。提出了专门讨论,以证实我们的索赔。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号