Skip to content
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

Warn when tracing is enabled with big-bang? #170

Open
maueroats opened this issue Apr 6, 2022 · 0 comments
Open

Warn when tracing is enabled with big-bang? #170

maueroats opened this issue Apr 6, 2022 · 0 comments

Comments

@maueroats
Copy link
Contributor

Racket 8.4

Language -> Choose Language -> Show Details -> [X] Enable tracing

Would it be possible for big-bang to generate a warning if run when the "Enable tracing" option is selected under Output Syntax?

The error caused by my (non-minimal) sample is currently:

 expr-iterator: unknown expression (phase #false): #<syntax:/usr/local/share/racket/collects/racket/private/kw.rkt:1392:76 (#%variable-reference proc>6)> (#%variable-reference proc>6)

This might not be worth pursuing, since there is a clear indication that the language is not standard.

However, turning on tracing is nice for debugging when working with lists / recursive functions, so it's possible for students to end up with tracing enabled "by accident".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant