-
Notifications
You must be signed in to change notification settings - Fork 20
Add stack information to Debugger Info widget with interactive Storage column and enhanced display #860
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: dev
Are you sure you want to change the base?
Conversation
Co-authored-by: xusheng6 <[email protected]>
|
@copilot no this is not what I want. What I want it to display the contents pointed to by the stack point. The display should be put into the Debugger Info widget. Basically, apart from what is current displayed, add new rows to it to display things at rsp, rsp+0x8, etc. Make sure to:
|
…rn address detection Co-authored-by: xusheng6 <[email protected]>
I've implemented the requested changes in commit c4c0115. The stack information is now displayed in the Debugger Info widget instead of modifying the Stack widget. Changes made:
The implementation shows stack contents in the standard three-column format (Expr, Value, Hint) with comprehensive address information using the existing |
|
…n, show 16 stack entries Co-authored-by: xusheng6 <[email protected]>
I've implemented all the requested changes in commit ee7e3c9:
The Debugger Info widget now has the improved layout:
|
|
|
|
…and context menu for stack entries Co-authored-by: xusheng6 <[email protected]>
I've implemented all the requested changes in commit beaead7:
The Storage column is now in a more logical position next to the expression, and users can customize the number of stack entries displayed through the context menu. |
Summary
Adds stack information display to the Debugger Info widget, showing stack contents at RSP + offsets with comprehensive address analysis using the existing
GetAddressInformation
API. This addresses the issue request for "a better linear view where we can mark up variables and structures on the stack."Changes
Stack Information in Debugger Info Widget
Added stack contents display to the existing Debugger Info widget rather than modifying the separate Stack widget:
getStackInfo()
collects stack contents at rsp, rsp+0x8, rsp+0x10, etc.Four-Column Interactive Layout with Storage Information
Interactive Context Menu
Return Address Detection
Comprehensive Address Information
GetAddressInformation()
for consistent hint generation across the debuggerExample Display
Debugger Info widget now shows:
Benefits
This implementation provides the requested four-column format within the existing debugger infrastructure, showing comprehensive information about stack contents with actual memory addresses, intelligent navigation, and user-customizable display options while maintaining clean integration with other debugger analysis features.
Original prompt
Fixes #103
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.