Ctrader crash on Print statement
Created at 13 Aug 2024, 15:35
CT
Ctrader crash on Print statement
13 Aug 2024, 15:35
I added a Print statement to a working cbot code and it crashed. I had to force Quit CTrader.
Error message :- It was a simple print of plain text. CTrader version 5.0, Mac Studio M2
13/08/2024 16:31:29.675 | CBot instance crashed with error "Error creating a type 'PMOT'. [PMOT - Init] Error : Object reference not set to an instance of an object."
Note that the code runs when l remove the print statement.
PanagiotisCharalampous
13 Aug 2024, 15:52
Hi there,
Can you share the code so that we can reproduce this issue?
Best regards,
Panagiotis
@PanagiotisCharalampous