在教育环境中使用属性探针的研究
Study of the Use of Property Probes in an Educational Setting
AI总结:
该研究通过混合方法调查了教育环境中属性探针工具CodeProber的使用情况,发现学生认为其有用并持续使用,且部分替代了传统调试技术,为语言工具开发提供了实时探索的实证支持。
摘要:
背景:开发编译器和静态分析工具(“语言工具”)是一项困难且耗时的任务。我们之前提出了*属性探针*,一种帮助语言工具开发者建立对其工具理解的技术。探针提供了编译器内部结构的实时视图,使开发者能够看到编译或分析的所有中间步骤,而不仅仅是最终输出。该技术已在名为CodeProber的工具中实现。\n探究:CodeProber在研究和教育领域已积极使用超过两年,但其实际使用情况尚未得到充分研究。CodeProber结合了实时性、AST探索以及在源代码之上呈现程序分析结果。虽然还有其他专门针对语言工具开发者的工具,但我们不知道有任何工具与CodeProber具有相同的设计,更不用说有广泛用户研究的此类工具。因此,我们声称缺乏关于属性探针(以及延伸的CodeProber)在实践中如何使用的知识。\n方法:我们展示了一项在教育环境中使用CodeProber的混合方法研究的结果,目标是发现属性探针是否以及如何提供帮助,以及它们与测试用例和打印调试等更传统技术的比较。在研究中,我们分析了11次面对面对学生的访谈数据,这些学生在程序分析课程中使用了CodeProber。我们还分析了同一课程中24名学生的CodeProber事件日志,以及两个使用CodeProber的课程中51份匿名调查回复。\n知识:我们的发现表明,学生们认为CodeProber是有用的,并且在课程实验期间持续使用它。我们进一步发现,我们研究中的学生似乎部分或完全使用CodeProber来代替其他开发工具和技术,例如断点/逐步调试、测试用例和打印调试。\n依据:我们的主张得到三个不同数据来源的支持:11次面对面访谈、24名学生的日志分析以及51份调查回复。\n重要性:我们希望我们的发现能激励其他人考虑使用实时探索来帮助语言工具开发者建立对其工具的理解。
英文摘要:
Context: Developing compilers and static analysis tools ("language tools") is a difficult and time-consuming task. We have previously presented *property probes*, a technique to help the language tool developer build understanding of their tool. A probe presents a live view into the internals of the compiler, enabling the developer to see all the intermediate steps of a compilation or analysis rather than just the final output. This technique has been realized in a tool called CodeProber. Inquiry: CodeProber has been in active use in both research and education for over two years, but its practical use has not been well studied. CodeProber combines liveness, AST exploration and presenting program analysis results on top of source code. While there are other tools that specifically target language tool developers, we are not aware of any that has the same design as CodeProber, much less any such tool with an extensive user study. We therefore claim there is a lack of knowledge how property probes (and by extension CodeProber) are used in practice. Approach: We present the results from a mixed-method study of use of CodeProber in an educational setting, with the goal to discover if and how property probes help, and how they compare to more traditional techniques such as test cases and print debugging. In the study, we analyzed data from 11 in-person interviews with students using CodeProber as part of a course on program analysis. We also analyzed CodeProber event logs from 24 students in the same course, and 51 anonymized survey responses across two courses where CodeProber was used. Knowledge: Our findings show that the students find CodeProber to be useful, and they make continuous use of it during the course labs. We further find that the students in our study seem to partially or fully use CodeProber instead of other development tools and techniques, e.g. breakpoint/step-debugging, test cases and print debugging. Grounding: Our claims are supported by three different data sources: 11 in-person interviews, log analysis from 24 students, and surveys with 51 responses. Importance: We hope our findings inspire others to consider live exploration to help language tool developers build understanding of their tool.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。