[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-496363-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-496363-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","angelic-debugging-read-online-free","Angelic Debugging - read online free","","Software often ships with known bugs, yet locating the exact defect from failing tests is costly. Angelic debugging reduces this cost by identifying expressions that can plausibly be repaired. It computes candidate expressions using value-based symbolic reasoning rather than enumerating all syntactic edits. An expression is a repair candidate if replacing its value fixes the failing test and remains changeable across passing tests without breaking them. Implementation on Java PathFinder shows promise for speeding program debugging.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/angelic-debugging-read-online-free/496363/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/angelic-debugging-read-online-free/496363.png","ImageObject",300,407,{"name":42,"@type":43},"miaandmiso","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-02","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the main goal of angelic debugging?","Question",{"text":63,"@type":64},"To reduce the cost of identifying and fixing bugs by locating expressions likely to be repair candidates from failing tests.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the method approximate searching over syntactic edits?",{"text":68,"@type":64},"It uses value-based reasoning: instead of enumerating all syntactic variations of expressions, it computes alternative values whose substitution would correct the failing test.",{"name":70,"@type":61,"acceptedAnswer":71},"What makes an expression a “flexible” repair candidate?",{"text":72,"@type":64},"When, across each passing test, the expression’s value can be changed to another value without breaking that passing test, making the repair less likely to break existing behavior.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},496363,1791309891,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Angelic Debugging  \nSatish Chandra  \nIBM Research  \n[satishchandra@us.ibm.com](satishchandra@us.ibm.com)  \nEmina Torlak IBM Research  \n[etorlak@us.ibm.com](etorlak@us.ibm.com)[ ](etorlak@us.ibm.com)Rastislav Bodik  \nUC Berkeley [bodik@cs.berkeley.edu](bodik@cs.berkeley.edu)  \nShaon Barman  \nUC Berkeley  \n[sbarman@cs.berkeley.edu](sbarman@cs.berkeley.edu)  \nABSTRACT  \nSoftware ships with known bugs because it is expensive to pinpoint and ﬁx the bug exposed by a failing test. To reduce the cost of bug identiﬁcation, we locate expressions that are likely causes of bugs and thus candidates for repair. Our symbolic method approximatesan ideal approach to ﬁxing bugs mechanically, which is to search the space of all edits to the program for one that repairs the failing test without breaking any passing test. We approximate the expensive ideal of exploring syntactic edits by instead computing the set of values whose substitution for the expression corrects the execution. We observe that an expression is a repair candidate if it can be replaced with a value that ﬁxes a failing test and in each passing test, its value can be changed to another value without breaking the test. The latter condition makes the expression ﬂexible in that it permits multiple values. The key observation is that the repair of a ﬂexible expression is less likely to break a passing test. The method is called angelic debugging because the values are computed by angelically nondeterministic statements. We implemented the method on top of the Java PathFinder model checker. Our experiments with this technique show promise of its applicability in speeding up program debugging.  \nCategories and Subject Descriptors  \nD.2.5 [Software Engineering]: Testing and Debugging General Terms  \nTesting, Debugging, Validation  \nKeywords  \nAngelic non-determinism, debugging, symbolic execution, tests  \n1. INTRODUCTION  \nSoftware producers often ship code with known faults that are deemed too expensive to ﬁx and unlikely to occur in practice. Isolating causes of these faults from failing tests is a labor-intensive process, with considerable costs. Given that compute cycles are abundant and inexpensive, judicious use of automation for fault  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for proﬁt or commercial advantage and that copies bear this notice and the full citation on the ﬁrst page. To copy otherwise, torepublish, to post on servers or to redistribute to lists, requires prior speciﬁc permission and/or a fee.  \nICSE '11, May 21–28, 2011, Waikiki, Honolulu, HI, USA Copyright 2011 ACM 978-1-4503-0445-0/11/05 ...$10.00 .  \nisolation could greatly improve software quality, as well as reduce costs.  \nIn this paper, we propose a computer-assisted debugging methodology, in which value-based reasoning is used to identify plausible repair candidates in a faulty program. We consider only those faulty programs in which the defect can be repaired by altering at most one expression. A repair candidate is an expression that can be modiﬁed to correct the failing test(s) without breaking any passing tests. In principle, we could identify repair candidates by exploring (a subset of) valid syntactic variations of all expressions in the program. This, however, tends to be too computationally demanding in practice.  \nOur idea is to approximate syntactic changes with value changes. Instead of checking if the program can be ﬁxed by replacing an expression e with some expression e0 , we check whether a failing test can be repaired by replacing the value v of e with some valuev0 . If v0 ﬁxes the test, we assume it is possible to ﬁnd an expression e0 that evaluates to v0 . If no such v0 exists, we can ﬁlter out e from the set of repair candidates.  \nOf course, the value-replacement check based only on a failing test may not be able to ﬁlter out repair candidates that could bre","cbCaiuTto0W0qu6p","https://ap.wps.com/l/cbCaiuTto0W0qu6p","pdf",299291,11,"English","# Abstract\n# Introduction\n## Problem and Motivation\n## Proposed Methodology\n## Key Idea: Value Replacement and Flexibility\n# Angelic Debugging Procedure\n# Preliminary Code Example","[{\"question\":\"What is the main goal of angelic debugging?\",\"answer\":\"To reduce the cost of identifying and fixing bugs by locating expressions likely to be repair candidates from failing tests.\"},{\"question\":\"How does the method approximate searching over syntactic edits?\",\"answer\":\"It uses value-based reasoning: instead of enumerating all syntactic variations of expressions, it computes alternative values whose substitution would correct the failing test.\"},{\"question\":\"What makes an expression a “flexible” repair candidate?\",\"answer\":\"When, across each passing test, the expression’s value can be changed to another value without breaking that passing test, making the repair less likely to break existing behavior.\"}]","Angelic Debugging - read online free | PDF",1790931160,28,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7079c9231f2801ab95103a23592b429f.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/4989a484501b3bb7a7af95ddff46d6cc.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/bc816ad5f9c15b6c1f7fead22f3b9beb.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a0588a09304634f31240dae98a63c224.webp",980,1385]