racket / racket/htdp

Warn when tracing is enabled with big-bang?

Open
#170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

teachpack
Dominant language
Racket
Stars
112
Forks
73
Avg merge
9h 41m
Merged PRs (30d)
1

Description

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".

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the linked sample with DrRacket's Language → Choose Language → Show Details tracing option enabled, then compare the behavior with tracing disabled. Start by locating the big-bang entry point and the existing tracing or error-reporting path. Done means the incompatibility produces a clear warning instead of the reported expr-iterator error.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.