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

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

How to debug a signal in Visual Studio?

Postby EdL » 21 Feb 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: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

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

Postby Henry MultiСharts » 21 Feb 2013

Hello EdL,

Try this method.

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

Re: How to debug a signal in Visual Studio?

Postby EdL » 27 Feb 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.


Return to “MultiCharts .NET”