NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 11-27-2006, 09:11 AM   #1
guym
 
Join Date: Nov 2006
Location: , ,
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Does anyone know if there is a way to breakpoint ninjascript code and use Visual Studio for debugging?
guym is offline  
Reply With Quote
Old 11-27-2006, 04:23 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Post imported post

Sorry, this is not feasible.

Due to .NET internal restrictions debugging would not be of value since you e.g. could not inspect properties of instances.

That's why:
- NT6 no longer support the option to build the custom assembly in debug option (NT5 had this option)
- we do not promote using VS for debugging

More tech background:
Although building the custom assembly with debug information is doable (implemented with NT5), it will not run in debug mode (but optimized realized mode), since the calling "module" (= NT iself) is running in release mode.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 11-28-2006, 12:41 AM   #3
guym
 
Join Date: Nov 2006
Location: , ,
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks.
guym is offline  
Reply With Quote
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


All times are GMT -6. The time now is 09:04 AM.