Christophe Weblog Wiki Code Publications Music
don't print out "locals" from the global environment
authorChristophe Rhodes <csr21@cantab.net>
Sun, 23 Oct 2011 09:54:19 +0000 (10:54 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Sun, 23 Oct 2011 09:54:19 +0000 (10:54 +0100)
commit2fcb575405fcfbe8736d0188fce113af39c43f40
tree08d6cfdb97e881f4888c28d9b9c1ac1097734b76
parent3ca13eb5110013cf2348b3a840eff3bc4ff0ec69
don't print out "locals" from the global environment

This is important because e.g. the repl evaluation happens in the
global environment, so errors on code called from the repl will pull
up a backtrace with that evaluation frame, which can be inspected for
locals.  But printing out all the locals is a hugely expensive and not
helpful thing to do.
swank.R