Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 75305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:29:43+00:00 2026-05-10T20:29:43+00:00

When debugging, a trick I do whenever I want to exit the current method

  • 0

When debugging, a trick I do whenever I want to exit the current method without running of its any statements, I move the current execution pointer to the end of the method, then click F10/11.

Is there a keyboard shortcut (or can I program one) to accomplish this?

(I don’t mean shift-F11 (step out) – that does run all the code until the method’s end, which I do not want).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:29:44+00:00Added an answer on May 10, 2026 at 8:29 pm

    The following sequence of keystrokes works for me (tested in Visual Studio 2008); I was able to record them as a temporary macro and play them back successfully:

    1. Ctrl+M, Ctrl+M (Edit.ToggleOutliningExpansion: collapses the current method)
    2. Right arrow (skips past the collapsed parameter list)
    3. Ctrl+] (Edit.GotoBrace: goes to the opening brace)
    4. Ctrl+] (Edit.GotoBrace: goes to the closing brace)
    5. Ctrl+Shift+F10 (Debug.SetNextStatement: sets the next statement to the closing brace at the end of the function)
    6. F10 (Debug.StepOver: leaves the method)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 77k
  • Answers 77k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You get the undefined error because 't' is not in… May 11, 2026 at 3:31 pm
  • added an answer I had the same problem, in my case was just… May 11, 2026 at 3:31 pm
  • added an answer This looks like you are using ActionLink extensions from the… May 11, 2026 at 3:31 pm

Related Questions

I'm looking for a way in .NET (2.0, C# in particular) for source code
I'm using SQL*Plus 9.2 on Oracle 10g enterprise. I have created some scripts that
We're using CruiseControl.NET which invokes an MSBuild script. While debugging the build script, we
UPDATE: Focus your answers on hardware solutions please. What hardware/tools/add-in are you using to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.