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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:48:46+00:00 2026-06-03T03:48:46+00:00

I am using Visual Studio 2010 and I have Debugger.Launch on the first line

  • 0

I am using Visual Studio 2010 and I have Debugger.Launch on the first line of my application, which is an update tool. This is the only way I can attach a debugger to the updater fast enough.

(Updates one of two programs, depending on shortcut args, then starts the updated program.)

The problem I am having is that when I attach the debugger to the process, I am unable to step into the debugger. I have tried putting the Debugger.Launch in the backgroundworker thread but this still won’t let me step into it.

The thread is still running, as I get an exception if I try to start two (and of course there are breakpoints set).

I don’t have this problem when running it from Visual Studio and sending the command args through the debug properties window. How ever it would be much more useful for me to be able to attach the debugger to the installed application.
(As currently it works in Visual Studio but not from launching exe)

Does anyone know of a fix or a workaround for this?

  • 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-06-03T03:48:47+00:00Added an answer on June 3, 2026 at 3:48 am

    Call Debugger.Break() instead of Debugger.Launch().

    http://msdn.microsoft.com/library/system.diagnostics.debugger.break.aspx

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

Sidebar

Related Questions

I'm building an application using Visual Studio 2010 in which I have to use
I have compiled this using Visual Studio 2010 compiler and it has compiler error
i am using visual studio 2010. i have a three dimensional structure array which,
I have a stackoverflow problem with a C# application written using Visual Studio 2010
I am using Visual Studio 2010 and I have a simple XML file which
I have an aspx page (c# using visual studio 2010) in which I have
I have a asp.net website with c# code behind and using visual studio 2010.
For reference, I'm using Visual Studio 2010. I have a custom build step defined
I am using DotNet.Highcharts in conjunction with Visual Studio 2010. I have created an
I have VS 2010 with extension VS2P4 for using Perforce commands within Visual Studio.

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.