Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Get line where error happens.
Collapse
X
-
Hello TazoTodua,
Thank you for your note.
There is currently no update on this feature request. The internal tracking id for this request is SFT-1209.
Please let me know if you have any questions.
-
Hello selnomeria,
I will pass your suggestion on to the development team.
In the mean time you could put 15 print statements every 150 lines. Then when you find where the issue is, you could add print statements within that block to narrow it down.
Please let us know if you need further assistance.
Leave a comment:
-
Hello Selnomeria,
You could add print statements in your strategy with the line number in each print statement so you can identify your bad code.
For example,
Print("Made it to line 101"); //Place on line 101.
I have provided a video on using print statements for debugging.
Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...
I’ve provided a link covering debugging which you may find helpful.
Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418
Please let us know if you need further assistance.
Leave a comment:
-
Get line where error happens.
When we get an error message, NT doesnt shown the line number of that "object" (or whatever failing element)
Pleas send the feature request to dev.team implement the C# functinality (reflection or whatever) to give us also the line number which causes the error.
PLEASE DONT SAY ANYTHING ABOUT "other solutions", like inserting the PRINT manually in all lines to find out the problem.Last edited by ttodua; 09-28-2018, 07:26 AM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kevinenergy, 02-17-2023, 12:42 PM
|
118 responses
2,778 views
1 like
|
Last Post
by kevinenergy
Today, 05:41 AM
|
||
Started by briansaul, Today, 05:31 AM
|
0 responses
9 views
0 likes
|
Last Post
by briansaul
Today, 05:31 AM
|
||
Started by traderqz, Yesterday, 12:06 AM
|
11 responses
28 views
0 likes
|
Last Post Today, 05:11 AM | ||
Started by PaulMohn, Today, 03:49 AM
|
0 responses
8 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
10 views
0 likes
|
Last Post Today, 02:18 AM |
Leave a comment: