{"id":{"repo_id":"portland-state","oai_identifier":"oai:pdxscholar.library.pdx.edu:open_access_etds-3667"},"canonical_url":"https://search.dev.ndltd.org/etd/portland-state/oai:pdxscholar.library.pdx.edu:open_access_etds-3667","repository":{"repo_id":"portland-state","name":"Portland State University","base_url":"https://pdxscholar.library.pdx.edu/do/oai/"},"display":{"title":"TeaBag: A Debugger for Curry","abstract":"This thesis describes TeaBag, which is a debugger for functional logic computations. TeaBag is an accessory of a virtual machine currently under development. A distinctive feature of this machine is its operational completeness of computations, which places novel demands on a debugger. This thesis describes the features of TeaBag, in particular the handling of non-determinism, the ability to control nondeterministic steps, to remove context information, to toggle eager evaluation, and to set breakpoints on both functions and terms. This thesis also describes TeaBag's architecture and its interaction with the associated virtual machine. Finally, some debugging sessions of defective programs are presented to demonstrate TeaBag's ability to locate bugs. A distinctive feature of TeaBag is how it presents non-deterministic trace steps of an expression evaluation trace to the user. In the past expression evaluation traces were linearized via backtracking. However, the presence of backtracking makes linear traces difficult to follow. TeaBag does not present backtracking to the user. Rather TeaBag presents the trace in two parts. One part is the search space which has a tree structure and the other part is a linear sequence of steps for one path through the search space.","abstract_html":"This thesis describes TeaBag, which is a debugger for functional logic computations. TeaBag is an accessory of a virtual machine currently under development. A distinctive feature of this machine is its operational completeness of computations, which places novel demands on a debugger. This thesis describes the features of TeaBag, in particular the handling of non-determinism, the ability to control nondeterministic steps, to remove context information, to toggle eager evaluation, and to set breakpoints on both functions and terms. This thesis also describes TeaBag&#x27;s architecture and its interaction with the associated virtual machine. Finally, some debugging sessions of defective programs are presented to demonstrate TeaBag&#x27;s ability to locate bugs. A distinctive feature of TeaBag is how it presents non-deterministic trace steps of an expression evaluation trace to the user. In the past expression evaluation traces were linearized via backtracking. However, the presence of backtracking makes linear traces difficult to follow. TeaBag does not present backtracking to the user. Rather TeaBag presents the trace in two parts. One part is the search space which has a tree structure and the other part is a linear sequence of steps for one path through the search space.","abstract_has_math":false,"creators":["Johnson, Stephen Lee"],"institution":null,"degree_name":"Master of Science (M.S.) in Computer Science","degree_level":"Thesis","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Sergio Antoy"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T20:02:10Z","subjects":["Debugging in computer science","Functional programming (Computer science)","Functional programming languages","Computer Engineering","Computer Sciences"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://pdxscholar.library.pdx.edu/open_access_etds/2663","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://pdxscholar.library.pdx.edu/open_access_etds/2663","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.dev.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.dev.ndltd.org%3Arepo%3Aportland-state%3Aoai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-3667","prefix":"oai_dc"},"source_record":{"url":"https://pdxscholar.library.pdx.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-3667","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Sergio Antoy"]},{"key":"dc:creator","label":"Author","values":["Johnson, Stephen Lee"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["1970-01-01T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2004-07-01T07:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.S.) in Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Debugging in computer science","Functional programming (Computer science)","Functional programming languages","Computer Engineering","Computer Sciences"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://pdxscholar.library.pdx.edu/open_access_etds/2663"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis describes TeaBag, which is a debugger for functional logic computations. TeaBag is an accessory of a virtual machine currently under development. A distinctive feature of this machine is its operational completeness of computations, which places novel demands on a debugger. This thesis describes the features of TeaBag, in particular the handling of non-determinism, the ability to control nondeterministic steps, to remove context information, to toggle eager evaluation, and to set breakpoints on both functions and terms. This thesis also describes TeaBag's architecture and its interaction with the associated virtual machine. Finally, some debugging sessions of defective programs are presented to demonstrate TeaBag's ability to locate bugs. A distinctive feature of TeaBag is how it presents non-deterministic trace steps of an expression evaluation trace to the user. In the past expression evaluation traces were linearized via backtracking. However, the presence of backtracking makes linear traces difficult to follow. TeaBag does not present backtracking to the user. Rather TeaBag presents the trace in two parts. One part is the search space which has a tree structure and the other part is a linear sequence of steps for one path through the search space."]},{"key":"dc:description.note","label":"Dc Description Note","values":["<p>This research has been supported in part by the NSF grants CCR-0110496 and CCR-0218224.</p> <p>If you are the rightful copyright holder of this dissertation or thesis and wish to have it removed from the Open Access Collection, please submit a request to <a href=\"mailto:pdxscholar@pdx.edu\" target=\"_blank\">pdxscholar@pdx.edu</a> and include clear identification of the work, preferably with URL</p>"]},{"key":"dc:title","label":"Title","values":["TeaBag: A Debugger for Curry"]}]}],"canonical_facts":{"dc:contributor":["Sergio Antoy"],"dc:creator":["Johnson, Stephen Lee"],"dc:date.available":["1970-01-01T08:00:00Z"],"dc:date.created":["2004-07-01T07:00:00Z"],"dc:description.abstract":["This thesis describes TeaBag, which is a debugger for functional logic computations. TeaBag is an accessory of a virtual machine currently under development. A distinctive feature of this machine is its operational completeness of computations, which places novel demands on a debugger. This thesis describes the features of TeaBag, in particular the handling of non-determinism, the ability to control nondeterministic steps, to remove context information, to toggle eager evaluation, and to set breakpoints on both functions and terms. This thesis also describes TeaBag's architecture and its interaction with the associated virtual machine. Finally, some debugging sessions of defective programs are presented to demonstrate TeaBag's ability to locate bugs. A distinctive feature of TeaBag is how it presents non-deterministic trace steps of an expression evaluation trace to the user. In the past expression evaluation traces were linearized via backtracking. However, the presence of backtracking makes linear traces difficult to follow. TeaBag does not present backtracking to the user. Rather TeaBag presents the trace in two parts. One part is the search space which has a tree structure and the other part is a linear sequence of steps for one path through the search space."],"dc:description.note":["<p>This research has been supported in part by the NSF grants CCR-0110496 and CCR-0218224.</p> <p>If you are the rightful copyright holder of this dissertation or thesis and wish to have it removed from the Open Access Collection, please submit a request to <a href=\"mailto:pdxscholar@pdx.edu\" target=\"_blank\">pdxscholar@pdx.edu</a> and include clear identification of the work, preferably with URL</p>"],"dc:identifier":["https://pdxscholar.library.pdx.edu/open_access_etds/2663"],"dc:subject":["Debugging in computer science","Functional programming (Computer science)","Functional programming languages","Computer Engineering","Computer Sciences"],"dc:title":["TeaBag: A Debugger for Curry"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Master of Science (M.S.) in Computer Science"]},"updated_at":"2026-11-26T20:02:10Z"}