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 7163295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:52:45+00:00 2026-05-28T13:52:45+00:00

Visual studio 2010 debugger automatically set breakpoint at the beginning of Main() on application

  • 0

Visual studio 2010 debugger automatically set breakpoint at the beginning of Main() on application start (C# project). So each time I start application in the debug mode it paused at the beginning. Please suggest how to disable it.

update:
– I definitely hit “Start debugging (F5)” and NOT “Step into new Instance (F10)”. Use F5 key or menu
– There in definitely no breakpoint
– It is simple and usual Main method:

    [STAThread]
    private static void Main()
    {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new ExpertEntryForm());
    }

P.S. It is funny, but I really can’t find (and google) this checkbox!


Solution

Indeed it was a stale breakpoint which didn’t show up in breakpoint list and editor but was activated each application start.
Solve it by:
1. Add a new breakpoint somewhere. (So there is at least one breakpoint in breakpoints list)
2. Press Debug->Delete all breakpoints

So leppie’s suggestion should work too.

  • 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. Editorial Team
    Editorial Team
    2026-05-28T13:52:46+00:00Added an answer on May 28, 2026 at 1:52 pm

    Delete your *.user files.

    Might be a stale breakpoint failing to show up.

    You can try looking at the breakpoints too in Debug > Breakpoints.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Visual Studio Debugger Project Settings for C# Debug Configurations Visual Studio 2010 Visual Studio
When you Debug.Print some object types in the Visual Studio 2010 debugger, the output
When I try to debug my WPF application in visual studio 2010 it launches
I'm trying to debug a C/C++ native DLL project from Visual Studio 2010. I'm
Visual Studio 2010 RC -> Silverlight Application We have a library of images that
In Visual Studio 2010 Beta 2 I created a new navigation Silverlight application. Without
Is anyone aware of a Visual Studio 2010 Add-In that will automatically allow you
Is there a JavaScript command that will cause the Visual Studio 2010 debugger to
I want to make the debugger in Visual Studio 2010 stop at the exception
I am using Visual Studio 2010 in debug mode and I have "optimize code"

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.