Conference paper Open Access

Accessing local variables during debugging

Raskin Michael; Mamardashvili Nikita


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="DOI">10.5281/zenodo.3254726</identifier>
  <creators>
    <creator>
      <creatorName>Raskin Michael</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="http://orcid.org/">0000-0002-6660-5673</nameIdentifier>
      <affiliation>Aarhus University</affiliation>
    </creator>
    <creator>
      <creatorName>Mamardashvili Nikita</creatorName>
      <affiliation>Moscow Center for Continuous Mathematical Education</affiliation>
    </creator>
  </creators>
  <titles>
    <title>Accessing local variables during debugging</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2016</publicationYear>
  <subjects>
    <subject>Software testing and debugging</subject>
    <subject>lexical environment</subject>
    <subject>lexical closures</subject>
  </subjects>
  <dates>
    <date dateType="Issued">2016-05-09</date>
  </dates>
  <language>en</language>
  <resourceType resourceTypeGeneral="ConferencePaper"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/3254726</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.3254725</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf">https://zenodo.org/communities/els</relatedIdentifier>
  </relatedIdentifiers>
  <rightsList>
    <rights rightsURI="https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode">Creative Commons Attribution Non Commercial Share Alike 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&lt;p&gt;Any reasonably large program has to use local variables. It is quite common in the Lisp language family to also allow functions that exist only in a local scope. Scoping rules often allow compilers to optimize away parts of the local environment; doing that is good for performance, but sometimes inconvenient for debugging.&lt;/p&gt;

&lt;p&gt;We present a debugging library for Common Lisp that ensures access to the local variables during debugging. To prevent the optimisations from removing access to these variables, we use code-walking macros to store references to the local variables (and functions) inside global variables.&lt;/p&gt;</description>
  </descriptions>
</resource>
110
62
views
downloads
All versions This version
Views 110110
Downloads 6262
Data volume 5.6 MB5.6 MB
Unique views 104104
Unique downloads 5858

Share

Cite as