#lang racket
(letrec ((a 1) (b (add1 a))) (list a b))
 
Runs fine in DrRacket, but with debug gives me two times a warning window as
follows:
 
b: undefined;
 cannot use before initialization
  context...:
   loop
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\drracket\gui-debugger\marks.rkt:110:2:
expose-mark
   expose-mark
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\drracket\gui-debugger\debug-tool.rkt:1186:
8: register-vars method in ...ugger/debug-tool.rkt:1140:6
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\drracket\gui-debugger\debug-tool.rkt:989:1
0: core1379
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\gui-lib\mred\private\wxme\editor-canvas.rk
t:394:2: on-event method in editor-canvas%
   C:\Program
Files\Racket-6.2.900.3\collects\racket\private\more-scheme.rkt:148:2:
call-with-break-parameterization
   C:\Program
Files\Racket-6.2.900.3\collects\racket\private\more-scheme.rkt:265:2:
call-with-exception-handler
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\gui-lib\mred\private\wx\win32\window.rkt:7
67:2: dispatch-on-event method in window%
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\gui-lib\mred\private\wx\common\queue.rkt:4
54:6
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\gui-lib\mred\private\wx\common\queue.rkt:5
05:32
   C:\Program
Files\Racket-6.2.900.3\share\pkgs\gui-lib\mred\private\wx\common\queue.rkt:6
53:3

Repeatedly clicking ok in the warning and stepping further works, though,
and produces correct result.
 
This happens in both 6.2.900.3--2015-05-16(e8b52f6/a) [3m] and version 6.1.1
[3m].
.
Even stranger:
 
#lang racket
(let () (letrec ((a 1) (b (add1 a))) (list a b)))
 
Runs well, but with debug in DrRacket 6.2.900.3 keeps on running without
messages and without allowing to step either.
In DrRacket version 6.1.1 [3m]. the same as above.
 
Best wishes, Jos Koot
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to