in reply to Reaped: How can I print variable contents from the debugger non-interactively?
Originally posted as a Categorized Answer.