Preprocessor Directives have some weird behavior since last updates

Created at 26 Nov 2019, 19:43
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
Waxy's avatar

Waxy

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.


@Waxy
Replies

Waxy
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.


@Waxy