Showing results for Navigate through code - Visual Studio Blog

Dec 30, 2024
6

Go to line anywhere with Code Search for Visual Studio 2022

Leah Tran
Leah Tran

Finding the exact line of code where an issue is occurring can be like searching for a needle in a haystack. Whether you are debugging an error on line 43 of a file or diving into a specific section of code, you can efficiently jump to the right places with this newest addition to Code Search. In Code Search, you can now jump to a specific line ...

Searchcode searchNavigate through code
Jul 15, 2021
3
1

Debug code with force run to cursor

Harshada Hole
Harshada Hole

Starting Visual Studio 2022 Preview 2 you can use "Force Run To Cursor". It is like "Run To Cursor," but you can keep your breakpoints and the debugger will skip over them until it reaches the line of code with the cursor. It will also skip any of the first-chance exceptions break conditions that may occur.

Visual StudioDebugging and DiagnosticsVisual Studio 2022