Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Debugging .net extension
Adam Lane
Posts: 3
 
Debugging .net extensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 07 2:59 PM
Does anyone know of a method for attaching the Visual Studio .net debugger to your .net extensions when being run through SLX? I've got a .net extension that I need to debug and I can't figure out what process to attach to!
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Debugging .net extensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 07 3:08 PM
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.
Make sense?
[Reply][Quote]
Adam Lane
Posts: 3
 
Re: Debugging .net extensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 07 3:23 PM
I was missing the selection of 'managed' code when I attached to the saleslogix.exe process. that did the trick, thanks Ryan!

Adam
[Reply][Quote]
Sam
Posts: 16
 
Re: Debugging .net extensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 07 1:06 AM
Hi Ryan,
Thanks for your support.
i have complied the .Net Extension in Debug mode and tried to add the "Sales Logix" from the list of running processes.
But the problem is, i am not able to find the "SalesLogix" in the list of running processes under "Attach to Prcoess", i tried checking the checkboxes below for 'All the Users' and for 'All the sessions', but the problem remains same. Could you please guide me to make the "Sales Logix" available in the list of running processes so that i can selelct and attach and try to debug the .Net Extension.

Thanks.
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Debugging .net extensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Nov 07 6:51 AM
Sam, Sometimes the name can be deceving as the title displayed can reflect the open window. Open up a running instance of SalesLogix, click on the account or contact form and look for the title 'Sage SalesLogix - {contact name } ' , also make sure that in the attach to you have Managed Code selected or you will not be able to debug your extension.

Mark
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/7/2025 10:44:55 AM