摘要
CHILL 语言的重要功能之一就是支持并发。并发的引入使得 CHILL 语言的调试变得十分困难。本文讨论了并发程序调试的困难与问题,研究了一般并发程序调试器应具有的功能,说明了我们借助实时扩展 UNIX 操作系统(RTU)所设计的并发程序调试器结构,找到了扩充的传统调试法用于并发程序调试时一些重要功能的实现方法。实验性地实现了 CHILL 并发源语言调试器。为消除探测影响,本文提出了硬件辅助软件调试法的设想。
One important function of the CHILL language is the ability to support concurrency,which makes it very difficult to debuge CHILL programs.This paper discusses the following topics:problems with concu- rrent debugging,general functions necessary for concurrent debugging,the structure of a concurrent debugger based on the real-time UNIX (RTU). A method is also given which can be used to extend traditional sequential debugger to a concurrent one.This method has been used in the impleme- ntation of source level debugger for CHILL.THis paper also presents an idea of the combined use of software and hardware to eliminate probe effect.