Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.5 KB

-scroll-prefs--control-source-scrolling-preferences-.md

File metadata and controls

44 lines (33 loc) · 1.5 KB
title description keywords ms.date topic_type ms.topic api_name api_type
.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 (Control Source Scrolling Preferences) Windows Debugging
05/23/2017
apiref
reference
.scroll_prefs (Control Source Scrolling Preferences)
NA

.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.