How can I begin debugging my first project? NEED HELP

Jan 17, 2013 at 1:37 AM
Edited Jan 17, 2013 at 1:51 AM

HI All, please advice, I'm trying to begin debugging my test EA as in article: Experts, Indicators and Scripts development guide

I created new C# class library project in visual studio '12, added references to assemblies as in article, and Implement demo Expert code such as described, my project compiled without errors, after I set starting application in project parameters, but, when I start debugging with stop-points inside of Start() function it doesn't work, MT4 with Expert_NET on the chart, works fine in same time, but debugger in vs2012, don't catch stop-points.

maybe I miss something...

Please tell more detailed about this steps:

  • After compiling your implementation of .NET ExpertAdvisor, place output assembly to application directory which hosts .NET Bridge. (default Shell.exe)  - (What is output assembly - compiled dll?)
  • Setup Bridge Configuration in application config file and restart host application. See details Bridge Configuration)  - (There is empty article by this link... where may I see details about bridge config.).
  • Configure MetaTrader's Expert_NET, Indicator_NET or Script_NET (depends on way you want to use your .NET ExpertAdvisor). See details MetaTrader 4 expert configuration.
  • If you host your application in .NET Shell you can observe results in console application. Otherwise, same logs are visible in Debug output. - Console application starts with my project, but it doesn't respond for Expert_NET start/stop events in MT4 while debugging.

Sorry for my english :)

Jan 22, 2013 at 7:43 AM

Hi guys, does anybody here could launch debugging of simple expert?