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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:58:06+00:00 2026-05-22T21:58:06+00:00

is there any way the .net 4 debugging api can somehow corrupt the state

  • 0

is there any way the .net 4 debugging api can somehow corrupt the state of an application during startup?

the issue i have is the following:

  • if i start my application from within a debugger using the .net debugging api (visual studio 2010, sharp develop 4, mdbg), i get various random access violations.
  • if i start my application from within a debugger not using the .net debugging api (delphi 2007, windbg with sos extension) everything works fine.
  • if i start my application directly and later on attach a debugger to it (like visual studio 2010, sharp develop 4, mdbg, delphi 2007, windbg), everything works fine.
  • if i move back to .net 3.5 and clr 2.0 i have no problems at all.

so what changed from .net 3.5 to 4.0 in the managed debugging api causing my application to throw access violations if started with it?

the application is written in delphi (unmanaged) and c# (managed) using managed vcl to do the interop.

i can hardly give any example to reproduce this issue so i’m aware that answering this question might be impossible, but if someone with more insight to the debugging api can give me a hint in the right direction or could help me narrow it down i’d be very thankful.

  • 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-22T21:58:07+00:00Added an answer on May 22, 2026 at 9:58 pm

    Just for fun try and disable the Visual Studio hosting process. In Visual Studio right click on the project, go to the ‘Debug’ tab, and uncheck the “Enable the Visual Studio hosing process” check box.

    We’ve seen some strange stuff in the managed/unmanaged land on 64 bit systems running 32 bit apps.

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

Sidebar

Related Questions

Is there any simple way to programatically colorize images in .NET? Basically we have
I'm trying to figure out if there is any way to have a .NET
Is there any way in VB.NET to remove all of the whitespaces between tags
Does there exist any way in .Net to check before opening if a file
is there any way to get the ASP.NET validation summary control to just display
Is there any way to capture the MouseDown even from the .NET 2.0 TextBox
Is there any way to apply an attribute to a model file in ASP.NET
Is there any way to change the default tab size in a .NET RichTextBox?
Is there any way to implement a URL mechanisim in asp.net like it has
Is there any way to serialize an anonymous type in .net? Normal XmlSerializer fails

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.