few sharpdevelop Q's

Forum for any discussion not Dawn of Light related

Moderator: Support Team

Re: few sharpdevelop Q's

Postby ontheDOL » Fri May 19, 2017 12:03 am

another #develop question.

When using breakpoints(my new favorite thing) , if I try to set any points on scripts inside GSS folder, they are overlooked (olive dot)

I'm guessing this is because the scripts arent part of the csproj? is there anyway to have breakpoints work with them without having to include them in this file? if thats the issue...
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: few sharpdevelop Q's

Postby Leodagan » Fri May 19, 2017 5:36 am

This is because GSS do not load the code compiled by SharpDevelop but use a dynamic compilation when starting the server !

I made a switch for developers to be able to debug GSS, in serverconfig.xml :
Code: Select all
<EnableCompilation>False</EnableCompilation>
This will disable runtime compilation and use the GSS Binary build from your compiler ;)

The downside is that you have to put your custom files inside GSS Project to make sure they are build inside the GSS DLL, instead of relying on DOL auto-detection...
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: few sharpdevelop Q's

Postby ontheDOL » Fri May 19, 2017 1:32 pm

nice, I'll give that a try.
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: few sharpdevelop Q's

Postby Graveen » Sun May 21, 2017 4:05 pm

Excellent Leo, thank you.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” Other Discussion

Who is online

Users browsing this forum: No registered users and 1 guest