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

Announcements

No record found.

News and Announcements icon
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,

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    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

    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,845 Moderator on at

    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

    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,573 Moderator on at

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

  • Voltes Profile Picture
    596 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 511 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 426 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 159

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans