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 Corporation and the creator of slxdeveloper.com.

Don't miss these developer series from Ryan:


Related Content
   Updates to the SalesLogix Mobile Developer Toolkit
I've released some updates to the SalesLogix Mobile Developer Toolkit. This new release adds some fix
Posted on Apr 10, 2013 by Ryan Farley to Ryan Farley's Blog
 
   Free Tool to Retrieve SalesLogix User Names and Passwords
As a business partner we work with customer SalesLogix databases often. Along with getting a database bac
Posted on Feb 25, 2013 by Ryan Farley to Ryan Farley's Blog
 
   Introducing the SalesLogix Mobile Developer Toolkit
I am very pleased to announce a new & free open source tool from Customer FX named the SalesLogix Mob
Posted on Nov 13, 2012 by Ryan Farley to Ryan Farley's Blog
 
   Passing Connection Information from SalesLogix Web to Another Website
When integrating another system, application, or website with SalesLogix there are many options. If you&#
Posted on Dec 22, 2011 by Ryan Farley to Ryan Farley's Blog
 
   Extending Sublogix Entities
If you've followed my posts on Sublogix, or even better, given Sublogix a spin, you'll know that
Posted on Nov 15, 2011 by Ryan Farley to Ryan Farley's Blog
 
Comments

 

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.

Thanks!

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

(required)  
(optional)
(required)  
Add
All contents Copyright © 2013 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