Login / Register  search  syndication  about

          Ryan Farley's Blog

Ryan Farley on .NET Development with a focus on CRM Development for SalesLogix

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!

What's This?
Bookmark and Share

About Ryan Farley

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

View the SalesLogix Mobile Seveloper Series
View the SalesLogix SData Developer Series
View the Git for the SalesLogix Developer series

Related Content
   Better Code Organization for Infor CRM (Saleslogix) Mobile Customizations
When customizing the Infor CRM (Saleslogix) Mobile client, it's common for the ApplicationModule to g
Posted on May 05, 2015 by Ryan Farley to Ryan Farley's Blog
   Microsoft's New Visual Studio Code IDE and Infor CRM (Saleslogix) Mobile
Today at Microsoft's Build Developer Conference, a new, free, cross-platform code editor for web appl
Posted on Apr 29, 2015 by Ryan Farley to Ryan Farley's Blog
   Creating a Searchable & Filterable ComboBox in Infor CRM (Saleslogix) Web Client
I've had a few posts lately covering the ComboBox control in the Infor CRM (Saleslogix) Web Client. T
Posted on Feb 05, 2015 by Ryan Farley to Ryan Farley's Blog
   How to Disable the ComboBox Control in the Infor CRM (Saleslogix) Web Client
There's a problem with the ComboBox control in the Infor CRM (Saleslogix) Web Client. It won't di
Posted on Jan 22, 2015 by Ryan Farley to Ryan Farley's Blog
   Index of Posts for Starting with Infor CRM (Saleslogix) Development
The blogs on customerfx.com go all the way back to 2003. There's years and years worth of information
Posted on Dec 30, 2014 by Ryan Farley to Ryan Farley's Blog


brads99 said:

I followed your steps, but I get the following message when I mouseover the breakpoint: "The breakpoint will not be currently hit.  No symbols have been loaded for this document."  

The .pdb file is in the \obj\debug directory along with the original .dll, but it appears that the debugger cannot see or load the debug symbols.

I'm trying to debug your "HelloWorld" plug-in.  By the way, the plug-in works perfectly and provides an excellent proof of concept to our team for a proposed integration project.


August 26, 2009 11:25 AM

brads99 said:

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!

August 26, 2009 11:32 AM

Unit Testing of .Net Extension in SalesLogix LAN « SRNR Blog said:

Pingback from  Unit Testing of .Net Extension in SalesLogix LAN «  SRNR Blog

February 1, 2012 5:19 PM

Leave a Comment

All contents Copyright © 2015 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register