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

Further refinement of automatically-selected frame when debugger opens #128

Open
martinmcclure opened this issue Dec 16, 2022 · 0 comments
Assignees
Labels
cosmetic Improves user experience without affecting functionality

Comments

@martinmcclure
Copy link
Member

When the Sparkle debugger opens, it hides "glue" frames at the top and bottom of the stack and automatically selects the top remaining frame. Sometimes, however, the most useful frame to be selected is not the top frame, so there's improvement that could be done for some common circumstances, at the cost of some complexity.

Examples:

  • The top frame of an MNU is Object >> doesNotUnderstand:, since that is the place where #signal: is sent. However, it is typically more useful to see the frame two below that, which is the frame that sent the not-understood message.
  • When debugging an SUnit test assertion failure, a better starting point is typically the frame that sent the assertion message, not the frame internal to the SUnit framework which actually signals the exception.
@martinmcclure martinmcclure added the cosmetic Improves user experience without affecting functionality label Dec 16, 2022
@martinmcclure martinmcclure self-assigned this Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmetic Improves user experience without affecting functionality
Projects
None yet
Development

No branches or pull requests

1 participant