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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

best way to debug on-premise crm plugin?

(0) ShareShare
ReportReport
Posted on by 795

I have a on-premise CRM remotely. How can I debug CRM Plugin project locally in vs 2012?

Seems I can deploy the plugin project to my CRM.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    jlattimer Profile Picture
    24,562 on at

    These should help:

    Debug a Plug-In

    Step by step: How to remote debug Dynamics CRM plugins and workflow assemblies - this shows using the remote debugger in VS2010 but 2012 should be similiar

    Step by Step: Working with CRM2011 plugin profiler

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    To DEBUG A Plugin(on premise)

    You need to fire Visual Studio 2010 in Administrator Mode on the Server(which have IIS + CRM).

    follow these steps:

    1.Change the Debug/Build Path to "C:\Program Files\Microsoft Dynamics CRM\Server\Bin\Assembly" (So when ever you compile the dll will directly go there)

    2.Always do( Clean Sol  ---> Build Sol).. this will update *.PDB file.

    3.Register the Plugin (using plugin Registeration tool)

    4.Attach Debugger to w3wp running for TSQL

    5.Add BreakPoint ( an start hitting F11)

    You need to perform all these steps again & again.

    For you reference : crmbusiness.wordpress.com/.../crm-2011-how-to-set-up-remote-debugging-for-plugins

    Hope it helps.

    Thank You.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans