6.3.90.900
debug
source code: https://github.com/AlexKnauth/debug
A racket meta-language for debugging, based on sugar/debug.
1 #lang debug
A meta-language (like at-exp) that allows for quick debugging
shorthands to a program written in any racket-based language that looks at the
readtable.
To debug the value of an expression, simply put debug in front of the language at the top of the file (for instance #lang debug racket), and put #R, #RR or #RRR in front of the expression.
#R reports the value and returns it
#RR reports the value with a line number and returns it
#RRR reports the value with the file and line number, and returns it
Examples:
#lang debug racket (+ 1 2 #R(* 3 4)) ;(* 3 4) = 12 ;15