.scroll_prefs (Control Source Scrolling Preferences)
The .scroll_prefs command controls the positioning of the source in a Source window when scrolling to a line.
.scroll_prefs Before After
.scroll_prefs
Parameters
Before
Specifies how many source lines before the line you are scrolling to should be visible in the Source window.
After
Specifies how many source lines after the line you are scrolling to should be visible in the Source window.
Environment
This command is available only in WinDbg and cannot be used in script files.
Item | Description |
---|---|
Modes | User mode, kernel mode |
Targets | Live, crash dump |
Platforms | All |
Remarks
When this command is used with no parameters, the current source scrolling preferences are displayed.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for