Conference paper Open Access

Accessing local variables during debugging

Raskin Michael; Mamardashvili Nikita

Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="" xmlns:oai_dc="" xmlns:xsi="" xsi:schemaLocation="">
  <dc:creator>Raskin Michael</dc:creator>
  <dc:creator>Mamardashvili Nikita</dc:creator>
  <dc:description>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.

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.</dc:description>
  <dc:subject>Software testing and debugging</dc:subject>
  <dc:subject>lexical environment</dc:subject>
  <dc:subject>lexical closures</dc:subject>
  <dc:title>Accessing local variables during debugging</dc:title>
All versions This version
Views 110110
Downloads 6262
Data volume 5.6 MB5.6 MB
Unique views 104104
Unique downloads 5858


Cite as