Debugging of the sample cBots and Indicators in Visual Studio
Debugging of the sample cBots and Indicators in Visual Studio
19 Jan 2021, 17:48
I think I have an info for all of you which could save you some hours of work and frustration:
I got problems to debug the original sample cBots and Indicators. It seems that all the samples are always compiled in Release-mode, regardless if Visual Studio is set to Debug or Release. While some breakpoints got hit, a lot of variables etc. have been optimized away.
After several hours of investigation, I found a simple solution:
Just generate a new cBot or Indicator, copy the source code from the sample and build it under the Debug mode of visual Studio.
ISpotware should update all the samples provided, so that debugging is possible with them!