Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.