![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2011
Posts: 58
Thanks: 34
Thanked 0 times in 0 posts
|
Any suggestions to streamlining debugging a strategy?
I am able to debug in Visual Studio Professional. However, once I want to stop debugging, change the code, and start debugging again, I run into problems. To stop debugging, I stop the debugger in Visual Studio. But, that leaves the strategy running in limbo the Strategy Analyzer. To start over again, I have to reopen the Strategy Analyzer (something that is fairly slow when compiled in debug ~ 1 or 2 minutes), recompile, reattach the process in VS, and then kick off the strategy in the Strategy Analyzer. Is there are better/more streamlined way? What I am doing now works, but it is cumbersome. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,183
Thanks: 130
Thanked 180 times in 179 posts
|
Hello Serac,
It sounds like it is to be expected since you do not want to change the code while a strategy is running. Once you stop the debugging are you able to finish the Strategy Analyzer test? I do not know of a better way, possibly a member of the forums with experience debugging may have some feedback.
JC
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_JC for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debugging | nicbizz | General Programming | 1 | 08-06-2011 12:54 PM |
| Debugging with Print() | RDPoS | General Programming | 5 | 03-05-2011 02:08 PM |
| Help Debugging my indicator | mefTrader | Indicator Development | 6 | 12-29-2009 07:56 PM |
| Debugging | douggreen | Version 7 Beta General Questions & Bug Reports | 6 | 10-16-2009 06:20 PM |
| Debugging Strategy | Socrato | General Programming | 4 | 07-20-2009 03:40 PM |