microsoft / microsoft/MIEngine
Support stack frames pagination for a thread
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 859
- Forks
- 233
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 3
Description
At this moment EnumFrameInfo method reads parameters info for all stack frames of a thread in spite of a client requesting a range of them (e.g. vscode-cpptools by default requests only the first 20 frames).
Finally the HandleStackTraceRequestAsync handler replies to a client with a requested slice of frames. It means that some resources were wasted and it creates a significant delay on large stacks.
Is it possible to pass start and end frame level into the EnumFrameInfo to get necessary info only?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing HandleStackTraceRequestAsync to EnumFrameInfo and compare the requested frame range with the current parameter enumeration. The change is done when EnumFrameInfo receives the requested start and end levels, gathers information only for that range, and the handler still returns the requested slice. No file or test path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100