Community
Showing results for 
Search instead for 
Do you mean 
Reply

Debug CustomsubEntity

Accepted Solution Solved
Copper Contributor
Posts: 11
Country: USA
Accepted Solution

Debug CustomsubEntity

Can someone please tell me how to set up vs2008 to debug the custom subentity dll created from the sdk?

Thanks.


Accepted Solutions
Solution
Accepted by topic author computerus
‎09-25-2015 03:20 AM
Copper Super Contributor
Posts: 59
Country: USA

Re: Debug CustomsubEntity

Hi Guys,

 

What I do usually is in the plugin (class library) properties, under the compile tab, I set the Build Output Path to 'c:\program files\act\act for windows\plugins' and then in the debug tab, I check off the 'Start External Program' option and write in 'c:\program Files\ACT\Act for Windows\actsage.exe' process.

 

After that it should run and have all debugging information you need. 

Hugo Vale
Datastream Custom Solutions
http://www.datastreamcs.com

View solution in original post


All Replies
Nickel Elite Contributor
Posts: 508
Country: USA

Re: Debug CustomsubEntity

I'd appreciate any insight as well.  I have setup an additional class using Trace statements, which outputs a txt file, but it's not the same thing, nor really as helpful.  Thanks!
Richard Brust
ACT! Certified Consultant
richard@rbrDataSolutions.com
Solution
Accepted by topic author computerus
‎09-25-2015 03:20 AM
Copper Super Contributor
Posts: 59
Country: USA

Re: Debug CustomsubEntity

Hi Guys,

 

What I do usually is in the plugin (class library) properties, under the compile tab, I set the Build Output Path to 'c:\program files\act\act for windows\plugins' and then in the debug tab, I check off the 'Start External Program' option and write in 'c:\program Files\ACT\Act for Windows\actsage.exe' process.

 

After that it should run and have all debugging information you need. 

Hugo Vale
Datastream Custom Solutions
http://www.datastreamcs.com
Copper Contributor
Posts: 43
Country: USA

Re: Debug CustomsubEntity

Hi

 

Hugo's suggestion looks good, but you might also want to consider adding logging capabilities. We use log4net:

http://logging.apache.org/log4net/index.html

 

Takes a little bit of setup, but once you have it configured you can get log information at any time from your compiled and deployed application. This is important, because once you deploy you will not have VS debug capabilities... :-).  log4net is both very fast and very flexible.

 

Of course, if your code is better than mine you will not have any issues once debugged... :-)

 

HTH

Regards

David Evans

Inaport - CRM Integration

http://www.inaplex.com

Copper Contributor
Posts: 11
Country: USA

Re: Debug CustomsubEntity

Thanks so much. I have tried this many times before and always got an error starting Act!. It works now so, thanks.

John