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

  • Home
  • SEARCH
  • 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 930837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:24:13+00:00 2026-05-15T20:24:13+00:00

I was debugging an application which I took ownership of at work and was

  • 0

I was debugging an application which I took ownership of at work and was getting frequent StackOverflowExceptions.

Examining the code, I saw a cycle as follows:

  1. Instantiate object
  2. object’s constructor calls a method
  3. this method calls the object instantiated at 1).

However, my colleagues used the application but do not seem to get any exceptions. I do when I am debugging the application and stepping through the code quite frequently.

Thanks

  • 1 1 Answer
  • 2 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-15T20:24:14+00:00Added an answer on May 15, 2026 at 8:24 pm

    I can think about two situations when program can behave under debugger by different way:

    1. Any code executed when Debugger.IsAttached returns true.

    2. Tools – Options – Debugger – General. “Enable property evaluation and other implicit function calls” is checked. In this case, when the program runs under debugger, some properties are called to update debugger Watch window. This can change the program behavior and cannot be reproduced without debugger.

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

Sidebar

Related Questions

I'm debugging an intermittent problem in which an application (created using C++ in Visual
It was very strange when I saw this on debugging my application. int iTag
I am debugging an application which, in its message loop, calls IsDialogMessage() . Occasionally,
weird issue with visual studio 2010, right now i'm debugging a web application (which
I have an application which needs the UAC elevation. I have the code which
I am getting a crash in my application which I am not able to
I was debugging an application which opens few UDP ports. I used netstat command
For debugging i wrote a really simple Web-Application which contains only a simple JSP
I've been tasked with debugging a Java (J2SE) application which after some period of
I am currently debugging an application which uses pthreads. When I attach GDB it

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.