-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BSL error stepping big-bang #233
Comments
It looks like d53a197 changed |
I wonder if using quasisyntax/loc would work but on the call to |
Well, just using the previous version of @mfelleisen in 36fc539, why was the old ;; (-> Object) -> Any
+ (define (run-it o)
+ (send (o) last))
+
+ #;
(define (run-it o)
(define esp (make-eventspace))
(define thd (eventspace-handler-thread esp))
(with-handlers ((exn:break? (lambda (x) (break-thread thd))))
... |
I think the highlighting (the reason behind d53a197) is affected by things like tail position (which the run it that was replaced in 36fc539 would have had differently) and the stepper can be affected by syntax properties or annotations that say things like "please ignore functions named The function that creates a new eventspace and disables breaks, etc, seems like a concern unrelated to the stepper and also unrelated to highlighting. |
Yes, I see the point behind d53a197 that fixes the source location for highlighting, but it turns out that only reverting the inlining of
The weird thing is using the |
This arrangement was carefully "negotiated" between John and myself -- but of course, the rationale is in two heads and not written down. @shhyou is correct in that the thread arranges continuation marks differently and that's the key to the stepper marking up the stack. |
To workaround racket#233, this partly reverts commits - "highlight universe when set-up fails at run-time". d53a197 - "fix resource administration in run and launch-many-worlds". 36fc539 Otherwise, when the object `[((new-world (if #,rec? aworld% world%)) w #,@Args)]` and `[((new-universe universe%) u #,@Args)]` are created in the main thread, the continuation marks of the stepper are somehow broken. A more appropriate fix should be applied in the future.
I know this occurred running the stepper on a
big-bang
, which should not be done.Error message
This occurs in the stepper.
Source code
The complaint appears to be originating from this line. The complaint looks like an error that the string
"supposed to be skipped"
does not satisfyprocedure?
.This might arise from more careful enforcement of a contract than in the past?
Would replacing the string with
(lambda () "supposed to be skipped")
cause problems?Reproduce
The text was updated successfully, but these errors were encountered: