• 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 Duval, Today, 08:38 AM
0 responses
6 views
0 likes
Last Post Duval
by Duval
 
Started by i2w8am9ii2, 02-13-2019, 04:28 PM
7 responses
61 views
0 likes
Last Post sledge
by sledge
 
Started by woodyfox, Yesterday, 08:33 PM
0 responses
7 views
0 likes
Last Post woodyfox  
Started by rblunsom, Yesterday, 11:19 AM
2 responses
29 views
0 likes
Last Post guidoisot  
Started by drewski1980, Yesterday, 02:38 PM
1 response
22 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X