Visual Studio Debug

Created at 19 Sep 2014, 11:36
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!
IS

Ishwara

Joined 10.09.2014

Visual Studio Debug
19 Sep 2014, 11:36


Hi,

The cAlgo platform is crashing when i attach the Visual Studio debugger to it.

It crash directly without having the time to launch the Robot.

I Tried multiple times with always the same issue.

 

I'm using Visual Studio Professional 2013 in a virtual Machine (Parallels) on a Mac.

The OS is Windows 8.1

 

Thanks in advance for your help.

 

Regards,

 

Sky.


@Ishwara
Replies

Invalid
19 Sep 2014, 12:54

RE:

Probably it doesn't work well on VM. 

Could you get any errors from Events log?

SkyAction said:

Hi,

The cAlgo platform is crashing when i attach the Visual Studio debugger to it.

It crash directly without having the time to launch the Robot.

I Tried multiple times with always the same issue.

 

I'm using Visual Studio Professional 2013 in a virtual Machine (Parallels) on a Mac.

The OS is Windows 8.1

 

Thanks in advance for your help.

 

Regards,

 

Sky.

 


@Invalid

Ishwara
19 Sep 2014, 14:31

Here is the log :

 

Faulting application name: cAlgo.exe, version: 1.24.102.34376, time stamp: 0x53ff554e
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x53089862
Exception code: 0xe0434352
Fault offset: 0x00000000000068d8
Faulting process ID: 0xf84
Faulting application start time: 0x01cfd3fbe8f2ed79
Faulting application path: C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report ID: 8aed77de-3fef-11e4-8254-001c42c842e4
Faulting package full name:
Faulting package-relative application ID:

 

And the XML if you like:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2014-09-19T11:24:39.000000000Z" /> 
  <EventRecordID>4583</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>MAXIMELECOM3CB6</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>cAlgo.exe</Data> 
  <Data>1.24.102.34376</Data> 
  <Data>53ff554e</Data> 
  <Data>KERNELBASE.dll</Data> 
  <Data>6.3.9600.17031</Data> 
  <Data>53089862</Data> 
  <Data>e0434352</Data> 
  <Data>00000000000068d8</Data> 
  <Data>f84</Data> 
  <Data>01cfd3fbe8f2ed79</Data> 
  <Data>C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe</Data> 
  <Data>C:\Windows\system32\KERNELBASE.dll</Data> 
  <Data>8aed77de-3fef-11e4-8254-001c42c842e4</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>

 


@Ishwara

Invalid
19 Sep 2014, 14:53

RE:

Try to 

  1. Run VS in safe mode. http://msdn.microsoft.com/en-us/library/ms241278.aspx. May be there some vs packages cause crash.
  2. Do you have any firewalls/antiviruses on your VM?
  3. Do you have possibility to run VS with cAlgo not on VM? 

On my machine (not VM) VS debugging works without any problem.

 

SkyAction said:

Here is the log :

 

Faulting application name: cAlgo.exe, version: 1.24.102.34376, time stamp: 0x53ff554e
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x53089862
Exception code: 0xe0434352
Fault offset: 0x00000000000068d8
Faulting process ID: 0xf84
Faulting application start time: 0x01cfd3fbe8f2ed79
Faulting application path: C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report ID: 8aed77de-3fef-11e4-8254-001c42c842e4
Faulting package full name:
Faulting package-relative application ID:

 

And the XML if you like:

- 
- 
   
  1000 
  2 
  100 
  0x80000000000000 
   
  4583 
  Application 
  MAXIMELECOM3CB6 
   
  
- 
  cAlgo.exe 
  1.24.102.34376 
  53ff554e 
  KERNELBASE.dll 
  6.3.9600.17031 
  53089862 
  e0434352 
  00000000000068d8 
  f84 
  01cfd3fbe8f2ed79 
  C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe 
  C:\Windows\system32\KERNELBASE.dll 
  8aed77de-3fef-11e4-8254-001c42c842e4 
   
   
  
  

 

 


@Invalid

Invalid
19 Sep 2014, 14:56 ( Updated at: 23 Jan 2024, 13:16 )

RE: RE:

[SkyAction], Skip the first step. You won't be able to debug cBot if cAlgo extension will be turned off. 

Invalid said:

Try to 

  1. Run VS in safe mode. http://msdn.microsoft.com/en-us/library/ms241278.aspx. May be there some vs packages cause crash.
  2. Do you have any firewalls/antiviruses on your VM?
  3. Do you have possibility to run VS with cAlgo not on VM? 

On my machine (not VM) VS debugging works without any problem.

 

SkyAction said:

Here is the log :

 

Faulting application name: cAlgo.exe, version: 1.24.102.34376, time stamp: 0x53ff554e
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x53089862
Exception code: 0xe0434352
Fault offset: 0x00000000000068d8
Faulting process ID: 0xf84
Faulting application start time: 0x01cfd3fbe8f2ed79
Faulting application path: C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report ID: 8aed77de-3fef-11e4-8254-001c42c842e4
Faulting package full name:
Faulting package-relative application ID:

 

And the XML if you like:

- 
- 
   
  1000 
  2 
  100 
  0x80000000000000 
   
  4583 
  Application 
  MAXIMELECOM3CB6 
   
  
- 
  cAlgo.exe 
  1.24.102.34376 
  53ff554e 
  KERNELBASE.dll 
  6.3.9600.17031 
  53089862 
  e0434352 
  00000000000068d8 
  f84 
  01cfd3fbe8f2ed79 
  C:\Users\maxlecomte\AppData\Local\Apps\2.0\OR06CH8O.Z5Q\02C56W4M.ZJH\icma..algo_2b1d787f64b7eb41_0001.0018_f6394ded2663d741\cAlgo.exe 
  C:\Windows\system32\KERNELBASE.dll 
  8aed77de-3fef-11e4-8254-001c42c842e4 
   
   
  
  

 

 

 


@Invalid

Ishwara
19 Sep 2014, 15:07

I have Avast as an antivirus and not firewall except the windows default one.

No i don't have the possibility to run cAlgo and VS in a native Windows environment.

I can try to  install again VS


 


@Ishwara

Invalid
19 Sep 2014, 15:12

RE:

Try to disable any extensions in VS and disable Avast. Reinstalling of VS probably won't help you much.  

SkyAction said:

I have Avast as an antivirus and not firewall except the windows default one.

No i don't have the possibility to run cAlgo and VS in a native Windows environment.

I can try to  install again VS


 

 


@Invalid

Ishwara
19 Sep 2014, 15:31

If i disable extensions i will not be able to use the debugger ?


@Ishwara

Invalid
19 Sep 2014, 15:35

RE:

Disable everything but "cBot and indicators" extension

SkyAction said:

If i disable extensions i will not be able to use the debugger ?

 


@Invalid

Ishwara
19 Sep 2014, 18:30

I installed VS and cAlgo in a new VM and it works like a charm.

Maybe the installation of VS was a bit corrupted.

 

Anyway thanks for your support.


@Ishwara