How to Debug a SalesLogix .NET Extension

The question of how to debug a .NET Extension has come up a few times in the SalesLogix Business Partner newsgroups as well as on the slxdeveloper.com forums. I’ve answered this a few times in those locations, so this might be a repeat of info for some, but I did think it was worthwhile to post again here as well.

Here’s a step by step to debug your SalesLogix .NET Extension:

  1. Create your .NET Extension and compile it in debug mode
  2. Add it to the Extension Manager and add whatever scripts to launch it
  3. While the project is open in VS, go to “Debug” and then “Attach to Process”.
  4. Find “SalesLogix” on the list of running processes. Select it and then use the “Select” button to ensure that you’ve chosen to debug “Managed”.
  5. Set a break-point in VS in your code
  6. Run the script that uses the extension and it will stop at your break-point.

Have fun!

ABOUT THE AUTHOR

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

1 Comment

  1. Solved my own probelm! Once I actually clicked on the button in form that calls my plugin, the debugger stopped where it should have and all my breakpoints became active.

    Thanks again!

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!