Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Fixed "Load More Stack Frames" loading the wrong set of frames. #113

Merged
merged 1 commit into from
Nov 28, 2018

Conversation

spriest487
Copy link
Contributor

When you break and the "Load More Stack Frames" button is visible, instead of loading more, it actually loads the same set of frames that are already loaded and appends them to the list.

When we get a request to load more frames, there's a startFrame property in the arguments which was previously ignored. Offsetting the index into the backtrace by startFrame seems to fix the issue for me, and it seems to be in line with the debug protocol docs I'm looking at. This isn't my area of expertise though!

When we get a request to load more frames, there's a `startFrame`
property in the arguments which was previously ignored.
@miniwolf
Copy link
Collaborator

Thank you so much for looking into this!
The code seems fine. And if it solves your problem it couldn't be better.

@miniwolf miniwolf merged commit 277dda6 into Unity-Technologies:master Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants