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

The Archive Base Latest Questions

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

So I have a solution (in Visual Studio, 2010) with two projects: ProjectA and

  • 0

So I have a solution (in Visual Studio, 2010) with two projects: ProjectA and ProjectB. ProjectA is just a test console application for ProjectB (which is a library I’m writing). I’m not sure if this makes a difference, but I’m running two instances of the application on startup:

if (arg.Length == 0)
{
    Process.Start(new ProcessStartInfo("arcticus", "t"));
}

if (arg.Length == 0)
{
    ConnectingNode();
}
else
{
    ListenNode();
}

When I go to trace the program, there are random locations (and not always consistent) where when I try to step into (or step over), the application will just stop debugging and close completely with not messages.

The other instance (that I’m not debugging) of the application crashes, showing an error in the console window. The error thrown is just a result of having lost connection to the instance being debugged.

Both projects are using the default Debug configuration, and normally it can trace just fine. Is there any changes to the build configuration, or just the general method of testing that would help solve this problem?

Additional Info: The library uses async. sockets, with some usage of thread-pools 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-29T17:02:16+00:00Added an answer on May 29, 2026 at 5:02 pm

    “the application will just stop debugging and close completely with not messages” –> this is the kind of behaviour i got when accessing data that belongs to another thread while ‘playing’ with thread/threadPool/Tasks/TaskFactory. To solve this i had to use only thread-safe objects and/or Invoke/BeginInvoke. I discovered along the way that in some case, code from process ‘A’ is considered belonging to process ‘B’ if that was B that raised, say, an event.
    Not sure to be precise enough but hope that can help.

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

Sidebar

Related Questions

I have a solution in Visual Studio 2010 containing 6 projects (1 web application,
I have a solution in Visual Studio 2010 which contains multiple projects. All of
I have a solution in Visual Studio 2008 which has multiple projects. One of
I have a Visual Studio 2010 solution with 8 projects. It also has a
I have a Visual Studio 2010 solution with 3 projects. The first is an
I have two class projects in a Visual Studio solution. Due to the nature
I have several projects within a single Solution, in Visual Studio 2010. All of
I have a web application solution existing under Visual Studio 2010. Part of this
I have a Visual Studio 2010 solution that contains 3 projects: a dll project,
I have a solution in Visual Studio 2005(professional Edition) which in turn has 8

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.