[racket] Evaluating expression in Dr Racket debugger. Maybe a feature request??

From: Bikal Gurung (gbikal at gmail.com)
Date: Mon Apr 30 12:27:09 EDT 2012

Hi All,

I am evaluating/using racket and DrRacket for my daily work and so far am
quite impressed. Maybe I am being bit greedy or maybe this is something I
have overlooked, :-) . I was wondering if there a facility to evaluate
expression while in debugging mode. For example say I am debugging the
following function below and the 'debugger stepper' is about to execute (+
a b). What I would like to do is evaluate an ad hoc racket expression - for
example (- a b) and get the result of it. Here is the code

(define (dosomething a b)
  (* (+ a b)  ;; the debugger is here
     (* a a)
     (* b b)))

For analogy the functionality that I explained is similar to the immediate
window functionality of Visual Studio.

Is this possible in racket? I have attached a screenshot of the debugger.

Many Thanks
Bikal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120430/05888ac3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: racket_debugger.png
Type: image/png
Size: 57858 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120430/05888ac3/attachment-0001.png>

Posted on the users mailing list.