Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Custom Plugin Runs in Debugger Mode Only

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey all,

We're having problems with our custom plugin code.

We have a pre-operation plugin on an Update event handler.

I tested the code and nothing happens. absolutely nothing. I ran a profiler using Plugin Registration Tool and debugged the code and everything seemed to be working fine.

No exceptions, no bugs.

I then tried again without the profiler turned on and nothing happened.

After doing a few tests I came to the conclusion that the code did not run at all, it's not even excecuted.

I did this by throwing an exception right at the start of the code's execution block.

Anyone knows what might cause this strange behavior?

Thanks in advance,

Ofek 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Plugin Runs in Debugger Mode Only

    What does it mean, the code doesn't run at all?  If you profiled the step and got a profile, then the plugin was entered.  

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Custom Plugin Runs in Debugger Mode Only

    Hello,

    Is it possible to put a screen shot of the plugin registration tool step configuration and your code

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Plugin Runs in Debugger Mode Only

    The step is enabled, I didn't write a new plugin - hence i didn't have to register a new step, I only changed existing code and added some logic to an existing step.

  • Saad Kabarousse Profile Picture
    Saad Kabarousse 732 on at
    RE: Custom Plugin Runs in Debugger Mode Only

    Hello,

    Make sure teh step is enabled?

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans