Thread: Visual Studio NT8 Debug

Results 1 to 5 of 5

  1. #1
  2. #2
    JonathanRo
    Guest

    Default

    getting a few errors thrown up when trying to debug strategy with Visual Studio (see attached) - is this my fault or should I find another debug method?
  3. #3
    KelseyZN
    Guest

    Default

    Probabily, the exception is thrown because owner is null. You should check that "owner as Gui.NinjaScript.IChartBars" is not null before reference it.
  4. #4
    KelvinSilv
    Guest

    Default

    This is likely the case, or one of the objects in that line is null. Generally with Visual studio you can hover the mouse cursor over each object to see if it has a value or if it is null to determine what specifically is null.

    Otherwise checking each object that can be null if it is not null should also correct this.

    I look forward to being of further assistance.
  5. #5
    KeenanZbu0
    Guest

    Default

    not sure how to do this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts