• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

debugging

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ballboy11
    started a topic debugging

    debugging

    I have an indicator i need debugging, I have debugged many indicator but I need a better way for find why it locks NT8. Is there a way to isolate the bug?

  • NinjaTrader_AlanP
    replied
    Hello ballboy11,

    Thank you for your note.

    Your best bet would be debugging in visual studio,
    https://ninjatrader.com/support/help..._debugging.htm

    Adding prints throughout the script could be helpful, for example Print("Getting to line 55"); etc. Then you check the output window for the last line before the exception. I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:
    https://www.youtube.com/watch?v=K8v_...tu.be&t=48m45s

    I may also suggest adding try catchs to your script, see,
    https://www.dotnetperls.com/catch

    I’ve provided a link covering debugging which you may find helpful.
    Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418

    If you’d like I could have someone from our business development team pass over a list of third party developers that you could contact about debugging your code.

    Please let us know if you need further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Erwin Beckers, Today, 01:23 AM
0 responses
2 views
0 likes
Last Post Erwin Beckers  
Started by Mark Taylor, Yesterday, 11:36 PM
0 responses
3 views
0 likes
Last Post Mark Taylor  
Started by Bluebeep, Yesterday, 08:38 PM
0 responses
9 views
0 likes
Last Post Bluebeep  
Started by stokhastic, Yesterday, 07:08 PM
0 responses
3 views
0 likes
Last Post stokhastic  
Started by jlkramer16, Yesterday, 04:29 PM
1 response
4 views
0 likes
Last Post jlkramer16  
Working...
X