Preprocessor Directives have some weird behavior since last updates

Created at 26 Nov 2019, 19:43
AlgoCorner's avatar

AlgoCorner

Joined 12.05.2015

Preprocessor Directives have some weird behavior since last updates
26 Nov 2019, 19:43


It seems that all bots and indicators are built on release mode, regardless of what I choose to build in Visual Studio.

Using #define DEBUG on top of the files seems to work, but I think this is a bug and it should be fixed, Release/Debug builds from Visual Studio should work as they've ever had.

Edit: This behavior seems erratic, sometimes works sometimes doesn't.

Thanks for your support.


@AlgoCorner
Replies

AlgoCorner
27 Nov 2019, 00:23

I think I have sorted this out, by building inside Visual Studio without clicking build again in cTrader the Debug mode will not be overridden.


@AlgoCorner