-
Notifications
You must be signed in to change notification settings - Fork 184
RFC: Remove 'Stack trace' from break loop messages (???) #6429
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -301,9 +301,6 @@ BIND_GLOBAL("ErrorInner", function(options, earlyMessage) | |
|
|
||
| printAutomaticTraceback := function() | ||
| if IsBound(OnBreak) and IsFunction(OnBreak) then | ||
| if OnBreak = Where or OnBreak = WhereWithVars then | ||
| PrintTo(ERROR_OUTPUT, "Stack trace:\n"); | ||
| fi; | ||
|
Comment on lines
-304
to
-306
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note also this implementation is a bit wonky. Perhaps
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah and this also breaks when certain packages are loaded: e.g. for me
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See PR #6432 for an attempt to clean this up. |
||
| OnBreak(); | ||
| fi; | ||
| end; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is an example of
Stack trace:with an "empty" stack trace; this is what first lead to me questioning whether this line is helpful or not...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also addressed by PR #6432