---
title: "Debugging shortcuts - Run to cursor, Find next statement"
url: "https://osherove.com/blog/2003/9/4/debugging-shortcuts-run-to-cursor-find-next-statement.md"
canonical: "https://osherove.com/blog/2003/9/4/debugging-shortcuts-run-to-cursor-find-next-statement.html"
published: "2003-09-04T07:13:00"
updated: "2003-09-04T07:13:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "Here are some common debugging tasks that I've found you can do with the keyboard: * sometimes when I debug I go to all sorts of places in my code, while inside a breakpoint or when debugging line by line. In order to…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Debugging shortcuts - Run to cursor, Find next statement

By Roy Osherove September 4, 2003 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published September 4, 2003; technical details may be outdated.

Here are some common debugging tasks that I've found you can do with the keyboard:

\* sometimes when I debug I go to all sorts of places in my code, while inside a breakpoint or when debugging line by line. In order to quickly get back to the line that is going to be executed next - press **ALT + NUM \***

\* press **CTRL+F10** to make the program run up to the line you are standing on

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Sep 8, 2003

    ### [Issues and solutions with Process and Request Identity in ASP.NET](https://osherove.com/blog/2003/9/8/issues-and-solutions-with-process-and-request-identity-in-as.html)

- Sep 4, 2003

    ### [Automatic Data-Relations](https://osherove.com/blog/2003/9/4/automatic-data-relations.html)

- Sep 4, 2003

    ### [Books to buy](https://osherove.com/blog/2003/9/4/books-to-buy.html)

- Sep 3, 2003

    ### [Israel Visual Basic User Group today - on ADO.Net](https://osherove.com/blog/2003/9/3/israel-visual-basic-user-group-today-on-adonet.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
