How to debug a signal in Visual Studio?  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
EdL
Posts: 39
Joined: Feb 18 2013
Has thanked: 22 times
Been thanked: 11 times

Feb 21 2013

Hi there,

I have created a new signal, it compiles fine, but when I apply it to a chart it gives an error.

Message: Error in study "MyStudy" : :
Unaccessible property(method): AddFunction.
Construct only.

How can I attach the Visual Studio debugger in order to debug this issue?

Many thanks,

Ed

p.s. if this is a common error, then maybe someone could point me in the right direction to fix it as well :-)

User avatar
Henry MultiСharts
Posts: 9165
Joined: Aug 25 2011
Has thanked: 1264 times
Been thanked: 2958 times

Feb 21 2013

Hello EdL,

Try this method.

EdL
Posts: 39
Joined: Feb 18 2013
Has thanked: 22 times
Been thanked: 11 times

Feb 27 2013

Thanks Henry. That works nicely.

N.B. In case anyone is having problems with their break points not working (with a little yellow warning triangle next to them) - make sure you select the correct target framework (3.5 not 4.0) in the project properties > Application > Target Framework.