NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 08-17-2012, 03:38 PM   #1
Serac
Member
 
Join Date: Feb 2011
Posts: 58
Thanks: 34
Thanked 0 times in 0 posts
Default Cumbersome Debugging

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.
Serac is offline  
Reply With Quote
Old 08-17-2012, 04:15 PM   #2
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,183
Thanks: 130
Thanked 180 times in 179 posts
Default

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.
NinjaTrader_JC is offline  
Reply With Quote
The following user says thank you to NinjaTrader_JC for this post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 08:00 AM.