Skip to main content

Notifications

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 592

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,

  • Voltes Profile Picture
    Voltes 592 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..

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 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
    Voltes 592 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.

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 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
    Voltes 592 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
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 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)

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans