-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Allow adding Debug button to #lang languages #592
base: master
Are you sure you want to change the base?
Conversation
7385b72
to
d5dd20f
Compare
@rfindler This PR seems to be forgotten? |
Thank you for the reminder @soegaard ! I did somehow miss this one. @mikesperber I think that maybe changing something around here based on these docs is a better way to go. Does that not work? |
Yes: But that has this as a prerequisite. |
When I change the quoted code to have these two lines:
(instead of returning Can you please elaborate on what you tried and how it goes wrong that led you to want to make modifications to drracket itself here? |
@rfindler Ah, you mean the bottom line of that snippet, not the top lines. (The docs you quote are almost impossible to find if you don't know about them beforehand.) I was following the example of the syntax-check and stepper buttons - the top lines of the snippet. Shouldn't those be done the same way? |
You may need to change all the lines, I guess.
Adding things to the code that's shared between various parts of drracket and the namespace in the interactions window should be done as infrequently as possible. When there is more shared, then it can get difficult to ensure that, for example, hitting the Run button really does reset the program that's being run. |
Fixes racket/htdp#177