Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Different way to debug online CRM Plugin

(0) ShareShare
ReportReport
Posted on by 437

Hi Folks, 

Many times I face issue to debug a online CRM plugin 

1) while connecting plugin registration tools it fails although i give correct details.

2) suppose there is not issue in plugin and i want to add a code then how i can debug without inducing any error in code?

3) can we debug plugin from XRM tool box box ?

Let me your views or any other way to debug plugin ?

Thanks.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Different way to debug online CRM Plugin

    Hi partner,

    1.If we could not login the PRT with correct details, it may caused by the upgrade of SDK. You should download the latest version of PRT and try again.

    http://mscrm365.blogspot.com/2018/01/dynamics-crm-v9-connection-error-in.html

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/263160/unable-to-login-in-plugin-registration-tool?pifragment-97030=2#responses

    2.If you mean you want to add code when debugging the plugin, you just need to add a break before the position you want to add code, and when the debugging run to the break, you will be able to add new code.

       If you want to debug the plugin after you add the new code, If your code is error-free, there will be no errors with debug.

    3.You could refer to the following links.

    https://prashantmayur.wordpress.com/2018/08/01/create-xrm-toolboxplugin-part-1-set-up-visual-studio-and-create-a-basic-plugin/

    https://prashantmayur.wordpress.com/2018/08/07/create-xrmtoolbox-plugin-part-2-debug-xrmtoolbox-plugin/

    https://github.com/MscrmTools/XrmToolBox/wiki/Debug-your-plugins-during-development

    But we recommend you to use PRT for better experience :-)

    Best Regards,

    Leo

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 32 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans