I can't debug the cBot with cTrader 4.4.x above
I can't debug the cBot with cTrader 4.4.x above
12 Feb 2023, 10:11
My cTrader version is 4.5.9 and created the cBot with .Net 6.0, it can be built in visual studio 2022, but just can't debug
I have added the below codes but nothing happening (already used the debug mode in VS)
protected override void OnStart()
{
var result = System.Diagnostics.Debugger.Launch();
Console.WriteLine("debug model:" + result);
}
I also can't show any debug messages in console, and also can't show any exception even I throw it as below
throw new Exception(ex.Message);
there is no any error in cTrader UI or even logs, any ideas on how to fix it?
Thanks!
Replies
winsonet
13 Feb 2023, 16:41
RE:
Yes, of course I did!
PanagiotisChar said:
Hi there,
Make sure you have set the access rights to FullAccess.
Need help? Join us on Telegram
Need premium support? Trade with us
@winsonet
PanagiotisChar
13 Feb 2023, 16:47
If you can share the complete cBot code, I can check what it does on my computer
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar
winsonet
13 Feb 2023, 17:06
RE:
sure, actually, I just created a new cBot in my cTrader and didn't change anything and just not working :(
I can show you the source code, but how can I send it to you? I can't upload in here.
and I still did not fix this issue
Thanks!
PanagiotisChar said:
If you can share the complete cBot code, I can check what it does on my computer
@winsonet
winsonet
18 Feb 2023, 14:21
RE: RE:
I think this is my OS issue, after re-install the windows and the problem has been fixed, thanks!
winsonet said:
sure, actually, I just created a new cBot in my cTrader and didn't change anything and just not working :(
I can show you the source code, but how can I send it to you? I can't upload in here.
and I still did not fix this issue
Thanks!
PanagiotisChar said:
If you can share the complete cBot code, I can check what it does on my computer
@winsonet
PanagiotisChar
13 Feb 2023, 10:04
Hi there,
Make sure you have set the access rights to FullAccess.
Aieden Technologies
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar