web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

(0) ShareShare
ReportReport
Posted on by 596

Hi guys,

When I tried to debug my code, there are couple of time I'm hit this error: 

pastedimage1678422001393v1.png

The warning indicate my custom table name (sorry, I have to hide some of it), but it has addition of "DebuggerProxy". May I know what is this feature, and why it is says timeout ? and most of all, how to deal with it ?

Thanks,

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Hi Lars, I don't know about this issue but there seems to be workaround to enable 'Use Managed Compatibility' option, you can check if its still applicable. 

    developercommunity.visualstudio.com/.../92154

    https://stackoverflow.com/questions/42158547/use-managed-compatibility-mode-or-enable-native-code-debugging

    pastedimage1678425252826v1.png

    If your other Dev VMs are working fine then you can consider creating new VM and deleting this VM, (Wait for other suggestions and decide, Good Luck)

  • Voltes Profile Picture
    596 on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Hi Mohit,

    Thanks for your suggestion. It has the deprecated feature warning though, when I want to enable it. 

    pastedimage1678426273573v1.png

    Btw my Visual Studio is version 2019. Anyway let me try first and come back with the result.

    Thanks

  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Hi Lars Volt,

    I am not sure about the error. But I got the below URL from Microsoft documentation which discuss about the same issue.

    learn.microsoft.com/.../error-evaluating-the-function-function-timed-out-and-needed-to-be-aborted-in-an-unsafe-way

    Thanks,

    Girish S.

  • Voltes Profile Picture
    596 on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Hi both,

    When I try so far ->

    1. The Use Managed Compatibility Mode, when checked makes my breakpoint omitted. So I turn it back off (unchecked)

    2. The Enable property evaluation and other implicit function calls., when uncheck makes I cannot see my local variable) 

    pastedimage1678428273917v1.png

     

    thanks.

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Yes, I believe it's already deprecated in VS 2022.

  • Voltes Profile Picture
    596 on at
    RE: What is debuggerproxy : Debug timeout and need to be aborted in a unsafe way issue

    Hi,

    Can I just increase the timeout ? However I cannot find the settings. I suspect because the process is too long, but I'm not sure I can break it either, it will be like rewrite the whole code, and I do believe there is some code longer than this.

    Thanks..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 696 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 569

#3
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans