back to top

Debugging Custom Assemblies Using Visual Studio

Developing for Saleslogix web using external assemblies provides you with a lot of freedom when developing code for Saleslogix web.  External assemblies can be helpful when organizing projects, reusing code and working with references to other assemblies.  You also have the ability to step through your code for debugging and troubleshooting. 

In this post, I’m going to briefly outline how to launch your custom assembly code in debug mode in Visual Studio.  I am using Visual Studio 2010 ultimate and a Saleslogix 8.0 web system for this walkthrough.

First of all, this will need to be done on the SalesLogix server itself.  On that server, follow these steps:

Step 1:  Ensure that debug mode is enabled.

In the web.config file, found in the deployed files under wwwrootSLXClient, there is a line that reads: <compilation debug=”false” defaultLanguage=”C#” numRecompilesBeforeAppRestart=”250″ targetFramework=”4.0″> Change the debug line to “true” and you should be set.

Step 2:  Open the assembly project in Visual Studio.

Step 3:  Attach the assembly in VS to the running process for Saleslogix.

 Under the Debug menu in VS, select “Attach to Process”. 

 

You will want to select the w3wp.exe process.  You may have to check the “Show processes in all sessions” checkbox before it is visible.  When the process is selected, click “Attach”.  You may also be presented with a security warning.  Go ahead and click “Attach” on that screen as well.

Step 4:  Assign breakpoints.

Go ahead and set breakpoints in your code as you normally would do in Visual Studio.

 

 

Once you’ve done those steps, you should be good to go!  Performing whatever action is tied to your external assembly in the Saleslogix web client should then launch you into debug mode in Visual Studio, when you can step through the code that is being run.  Pretty simple!

I hope you find this quick walk-through helpful.  Thanks for reading!

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Jason Buss
Jason Buss
Jason is a senior application developer with Customer FX.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos